Examples
Outlined
Outlined Selected
With Dot
All Variants
Rounded
Props
Chip
A compact element for filters, tags, or toggleable actions. When anonClick handler is provided, the chip renders as an interactive <button> with aria-pressed support.
boolean
default:"false"
Merge props onto a child element instead of rendering a wrapper.
boolean
default:"false"
Whether the chip is disabled.
boolean
default:"false"
Whether the chip uses a dashed border for add/create affordances. When
selected, it becomes a subtle filled state with a solid border. Has no effect when variant="dark".boolean
default:"false"
Whether to show a coloured status dot at the leading edge.
ReactNode
Icon element displayed before the label.
number
Numeric value for the notification badge. Uses the
Count component for overflow formatting. Takes precedence over notificationLabel when both are provided.string
Notification badge content (e.g.
"99+"). Passed as a string for i18n support.number
default:"99"
Maximum value before the badge shows overflow (e.g.
"9+"). Only applies when notificationCount is set."alert" | "info" | "success" | "warning" | "default" | "brand" | "pink" | "contrast"
default:"brand"
Colour variant of the notification badge.
MouseEventHandler<HTMLElement>
Click handler — when provided, the chip renders as a
<button> for accessibility.boolean
default:"false"
Draws the unselected state as a 1px
buttons-chip-default outline over a transparent background instead of filling with that same token. This is the Figma V2 Insights Chips treatment, used where chips sit over a chart and a row of solid fills would compete with the plotted series. The selected state is unaffected — it stays filled — as are the dark and dotted variants.ReactNode
Icon element displayed after the label.
boolean
default:"false"
Whether the chip is in a selected (pressed) state.
"32" | "40"
default:"32"
Height of the chip in pixels.
"dark" | "square" | "rounded"
default:"rounded"
Visual variant of the chip.
Exported types
Also exported from@fanvue/ui: ChipProps, ChipSize, ChipVariant.
Setup: Installation · Theming