On this page:

Chip

Type Toggle

Preview

index.tsx
neutralaccent
neutralaccent
neutralaccent
smallmediumlarge
DisabledDisabledDisabledDisabled

Type Dropdown

Preview

index.tsx
Options
neutralaccent
neutralaccent
smallmediumlarge
DisabledDisabledDisabledDisabled

Multi Filter (toggle)

Preview

index.tsx
ToyotaFordMazdaVinfastMercedesBMW
ToyotaFordMazdaVinfastMercedesBMW

Preview

index.tsx
Select

Preview

index.tsx
Select

Design Tokens for Chip

TokenColor forState/Meaning
--par-color-text-chip-<kind>-<state>-color-<status>Chip text colorkind: outlined/glass, state: selected/unselected, color: neutral/accent, status: enabled/hovered/pressed/disabled
--par-color-bg-chip-<kind>-<state>-color-<status>Chip backgroundkind, state, color, status as above
--par-color-border-chip-<state>-color-<status>Chip borderstate: selected/unselected, color, status as above

Note: Replace kind, state, color, status with the corresponding values: kind = outlined/glass, state = selected/unselected, color = neutral/accent, status = enabled/hovered/pressed/disabled.


Chip API Reference

<Chip />

PropTypeDefaultDescription
labelstringChip label
iconReactNodeIcon displayed in the chip
type'toggle' | 'dropdown''toggle'Chip type: toggle or dropdown
size'sm' | 'md' | 'lg''md'Chip size
kind'outlined' | 'glass''outlined'Visual style
color'neutral' | 'accent''neutral'Chip color
valuestring | numberChip value
checkedbooleanChecked state (toggle)
defaultCheckedbooleanDefault checked state (toggle)
isActivebooleanActive state (dropdown)
disabledbooleanfalseDisable the chip
onChangefunction (args: value, checked?, active?)Callback when state changes
onRemovefunction (value)Callback when remove is clicked (button chip)
...BasePropsSee BaseInherits all layout props from Base
...spanPropsHTMLSpanElement propsAll native span props (className, style, ...)

Note: Chip inherits all props from Base and HTMLSpanElement.