2.0 alpha
These docs describe 2.0. Install it with @once-ui-system/core@alpha.
On 1.8.x? Read the 1.x docs
TrademarkTrademarkDocs
Ctrl k
Search docs...
Form Controls

Chip

Updated: May 13, 2025
View on GitHub
Chips are compact elements that represent discrete information, selections, or filters. They help users make selections, filter content, or trigger actions in a space-efficient way. Chips can be in a selected or unselected state to indicate active filters or selections. You can use the onClick prop to make the chip interactive. Enhance chips with prefix icons to improve visual communication. Chips can include a remove button to allow users to dismiss or remove the chip. Click the remove button to see toast notifications.
Prop
Type
Default
labelrequired
The text.
string
selected
Whether it reads as chosen.
booleantrue
prefixIcon
Icon before the label.
IconName
onRemove
Adds a remove control, called when it is used.
() => void
onClick
Called when the chip body is clicked.
MouseEventHandler<HTMLDivElement>
children
React.ReactNode
iconButtonProps
Passed through to the remove control.
Partial<IconButtonProps>{}
style
React.CSSProperties
className
string
…and every FlexProps propinherited
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club