TrademarkTrademarkDocs
Ctrl k
Search docs...
Components

Tag

Updated: May 11, 2025
View on GitHub
Tag is a flexible label component that supports color variants, sizes, and optional icons on either side. Useful for tokens, filters, statuses, and tags. Tag is available in three sizes for flexibility in dense or prominent layouts. Supports all Once UI design tokens including brand, neutral, danger, success, and info.
Prop
Type
Default
scheme
Colour scheme. This was called variant before 2.0.
ColorSchemegradient
neutral
size
Tag size.
lms
m
label
The text.
string—
prefixIcon
Icon before the label.
IconName—
suffixIcon
Icon after the label.
IconName—
children
React.ReactNode—
…and every FlexProps propinherited—
className
string—
style
React.CSSProperties—
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club