Skip to content
Inputs & Forms

Chip

client26.75 kB
@stellaria/nebula-webChipProps

Preview

Props

13
PropTypeDefault

checked

boolean

—

children

ReactNode

—

className

string

—

color

ColorExtended

—

defaultChecked

booleanfalse

disabled

boolean

—

icon

ReactNode

—

onChange

((checked: boolean) => void)

—

radius

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

rootClassName

string

—

size

Size

—

value

string

—

variant

ChipVariant

—

Slot props

1

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

PropTypeDefault

iconProps

Wrapper for the icon. It lands both on the icon itself and on the check mark.

BoxSlotProps

—

Also accepts

On top of its own props, this component forwards these groups.

HTML attributes · 299Style props · 127