componente · @solu30/ui-kit/display
Badge
El componente, montado
Cargando el espécimen…
Cargando el chunk del paquete instalado…
De dónde se importa
import { Badge } from '@solu30/ui-kit/display'Props
| Prop | Requerida | Tipo | Qué hace |
|---|---|---|---|
| children | sí | ReactNode | — |
| style | opcional | CSSProperties | — |
| color | opcional | "default" | "primary" | "success" | "warning" | "error" | "info" | "purple" | "green" | "red" | "yellow" | "blue" | "cash" | "digital" | — |
| size | opcional | "xs" | "sm" | "md" | "lg" | — |
| variant | opcional | "solid" | "soft" | "tinted" | "outline" | "dot" | "default" | "secondary" | "destructive" | "ghost" | "success" | "warning" | "info" | — |
| icon | opcional | ReactNode | — |
| iconRight | opcional | ReactNode | — |
| dot | opcional | boolean | — |
| className | opcional | string | — |