mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
771 B
771 B
description, links
| description | links | |||||||
|---|---|---|---|---|---|---|---|---|
| Display a short text to represent a status or a category. |
|
Usage
Use the default slot to set the text of the Badge.
::component-card
code: Badge
Badge ::
You can also use the label prop:
::component-card
props: label: Badge
::
Style
Use the color and variant props to change the visual style of the Badge.
::component-card
props: color: 'primary' variant: 'solid'
Badge ::
Size
Use the size prop to change the size of the Badge.
::component-card
props: size: 'sm'
Badge ::
Props
:component-props
Preset
:component-preset