컴포넌트
Badges

Badge

배지는 알림, 읽지 않은 메시지 수 등 중요한 정보를 강조 표시하는 컴포넌트입니다. 텍스트에 대한 부가 정보를 전달하는 용도로 주로 사용합니다.

Figma 컴포넌트: Base components/Badge


Type

Badge는 두 가지 형태를 제공합니다.

Pill (완전 둥근 형태)

type="pill" (기본값) - 완전히 둥근 형태입니다.

LabelLabelLabelLabelLabel

Badge (약간 둥근 형태)

type="badge" - 약간만 둥근 형태입니다.

LabelLabelLabelLabelLabel

Color

12가지 색상 변형을 지원합니다.

GrayBrandErrorWarningSuccessGray blueBlue lightBlueIndigoPurplePinkOrange

Size

3가지 크기를 지원합니다: sm (22px), md (24px), lg (28px).

SmallMediumLarge
SmallMediumLarge

With Dot Indicator

icon="dot" - 상태 표시 점(dot)이 포함된 배지입니다.

LabelLabelLabelLabelLabel
LabelLabelLabelLabelLabel

With Icon

icon="icon" - 아이콘이 포함된 배지입니다.

LabelLabelLabelLabelLabel

조합 예시

ActiveOfflinePendingv2.0BetaNew

Props

PropTypeDefaultDescription
childrenReactNode-배지 텍스트 내용
sizesm | md | lgmd배지 크기 (sm: 22px, md: 24px, lg: 28px)
colorgray | brand | error | warning | success | grayBlue | blueLight | blue | indigo | purple | pink | orangegray배지 색상
typepill | badgepill배지 형태 (pill: 완전 둥근, badge: 약간 둥근)
iconfalse | dot | icon | circlefalse아이콘 유형 (dot: 상태 점, icon: 별 아이콘, circle: 원형 아이콘)

Figma Variants

PropertyValues
Sizesm md lg
ColorGray Brand Error Warning Success Gray blue Blue light Blue Indigo Purple Pink Orange
IconFalse Dot Icon Avatar Country
TypePill Badge