Badge
Badge는 이미지, 컨텐츠 등의 상태 또는 분류를 시각적으로 표시합니다.New
Property
ColorPalette
Badge의 색상을 설정합니다.
Shape
Badge의 모양을 설정합니다.
Size
Badge의 크기를 설정합니다.
Props Table
Badge
Small label that shows a status, category, or count next to other content. Renders a <span> element.
| Prop | Default | Type |
|---|---|---|
colorPalette? | primary | hintprimarysuccesswarningdangercontrast |
shape? | square | squarepill |
size? | md | smmdlg |
className? | - | stringfunction |
style? | - | React.CSSPropertiesfunction |
render? | - | ReactElementfunction |