Usage

Default
Small
::badge
  Default
::
::badge{size="sm"}
  Small
::

Variants

Outline
:badge[Outline]{variant="outline"}
::badge{variant="outline" type="info" to="https://github.com/ZTL-UwU/shadcn-docs-nuxt" target="_blank"}
Link
::

Props

type'default' | 'info' | 'warning' | 'success' | 'danger' | 'lime'
'default'
variant'default' | 'secondary' | 'destructive' | 'outline'
'default'
size'md' | 'sm'
'md'
tostring
Link URL
targetTarget
A target attribute value to apply on the link