Skip to content

Chips

Chips are small, interactive visual elements used to display information in a compact form. They often include text and optional icons, and may be clickable or removable.

Chips
Loading Code Block...

To get started, install Butterfly DS via aqua:

Loading Code Block...
Loading Code Block...
Chips
Loading Code Block...
sm chip
md chip
lg chip
Loading Code Block...
primary
neutral
success
danger
warning
info
Loading Code Block...
default
outline
Loading Code Block...

PropsDefaultTypeDescription
sizemd'sm' | 'md'The size of the checkbox
colorprimary'primary' | 'neutral' | 'success' | 'danger' | 'warning' | 'info'The color of the chip
text-stringThe text in the chip
showClosefalsebooleanWhether to show the close icon on the chip
typedefault'default' | 'outline'The visual style variant of the chip
icon-ReactNodeIcon to display in the chip
className-stringCustom CSS class for additional styling
icon
icon icon icon icon