mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
Co-authored-by: Daniel Roe <daniel@roe.dev> Co-authored-by: Sébastien Chopin <seb@nuxt.com>
566 B
566 B
github
| github |
|---|
| true |
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: 'md'
Badge ::
Props
:component-props
Preset
:component-preset