Skip to content
Data Display

Tag

client43 kB
@stellaria/nebula-webTagProps

Preview

Props

10
PropTypeDefault

children

ReactNode

className

string

color

ColorExtended"primary"

disabled

booleanfalse

leftSection

ReactNode

onRemove

(() => void)

radius

"sm" | "md" | "full""full"

removeLabel

string"Remove"

size

Size"md"

variant

TagVariant"light"

Slot props

3

Each one spreads over an inner element, so you can restyle a region without forking the component.

PropTypeDefault

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