Data Display
Tag
client43 kB
@stellaria/nebula-webTagPropsPreview
Props
10| Prop | Type | Default |
|---|---|---|
children | ReactNode | — |
className | string | — |
color | ColorExtended | "primary" |
disabled | boolean | false |
leftSection | ReactNode | — |
onRemove | (() => void) | — |
radius | "sm" | "md" | "full" | "full" |
removeLabel | string | "Remove" |
size | Size | "md" |
variant | TagVariant | "light" |
Slot props
3Each one spreads over an inner element, so you can restyle a region without forking the component.
| Prop | Type | Default |
|---|---|---|
labelProps The label, which is the content of the tag. | TextSlotProps | — |
removeProps The remove button. Only rendered with `onRemove`. | ButtonCloseProps | — |
sectionProps Envoltorio de `leftSection`. | BoxSlotProps | — |
Also accepts
On top of its own props, this component forwards these groups.
Style props · 127