Skip to main content
The Chip component displays compact, interactive elements commonly used for tags, filters, or selections. Chips can include icons and be dismissible.

Basic usage

Variants

Chip supports two visual variants: outline and filled.

Sizes

Two size options are available: small and large.

Colors

Choose between neutral and accent color schemes.

With icons

Add leading or trailing icons to provide visual context.

Dismissible chips

Make chips removable with the isDismissible prop.

Interactive chips

Chips can be clickable for filtering or selection.

Tag input

Combine with an input field for tag management.

Accessibility

Chips include proper ARIA attributes for accessibility.

API reference

Chip

'outline' | 'filled'
default:"'outline'"
Visual style variant.
'small' | 'large'
default:"'small'"
Size of the chip.
'neutral' | 'accent'
default:"'neutral'"
Color scheme for the chip.
ReactNode
Icon element to display before the chip content.
ReactNode
Icon element to display after the chip content. Hidden when isDismissible is true.
boolean
Whether the chip can be dismissed. Shows a close button when true.
ReactNode
required
Chip content.
string
Additional CSS classes to apply.
() => void
Callback fired when the dismiss button is clicked.
() => void
Callback fired when the chip is clicked.
string
default:"'status'"
ARIA role for the chip element.
string
ARIA label for accessibility. Defaults to the string content of children.
string
Custom data attribute for tracking state (e.g., ‘selected’, ‘active’).