Components

Pill

Pills label, categorise, or tag content. Use them to highlight short status or metadata.

Stable
GitHub
Pill

Anatomy

Anatomy
import {Pill} from '@staffbase/design';

<Pill />;

Examples

Variants

Solid
Outline

Colors

Primary
Critical
Success
Warning
Neutral
Teal
Purple
Pink
Cyan
Yellow
Primary
Critical
Success
Warning
Neutral
Teal
Purple
Pink
Cyan
Yellow

API reference

NameTypeDescription
children
ReactNode
Content rendered inside the pill.
variant
solidoutline
Visual style of the pill.
Default:solid
color
primarycriticalsuccesswarningneutraltealpurplepinkcyanyellow
Colour of the pill.
Default:primary