Skip to main content
Pill displays a short, non-interactive label. Use Tag for colored categories or Status for a named state with an indicator.

Usage

With an icon

Pass the icon component to Icon, rather than a rendered element. Keep a visible label to explain its meaning. The component accepts label, Icon, and className; it does not forward click handlers, children, or native accessibility attributes. Put actions on a separate Button.

Props

string
CSS class applied to the pill.
IconComponent
Icon component rendered before the label at 12px. Import icons from twenty-ui/icon.
string
Short text displayed inside the pill.