Examples
Truncated
All Variants
Left Icon
Right Icon
Props
Pill
A small rounded label for categorisation, status, or tagging.boolean
default:"false"
Merge props onto a child element instead of rendering a
<span>.ReactNode
Icon element displayed before the label.
ReactNode
Icon element displayed after the label.
"base" | "error" | "negative" | "brand" | "brandLight" | "pinkLight" | "red" | ...
default:"green"
Colour variant of the pill.Full type:
"base" | "error" | "negative" | "brand" | "brandLight" | "pinkLight" | "red" | "contrast" | "green" | "grey" | "blue" | "gold" | "beta".Exported types
Also exported from@fanvue/ui: PillProps, PillVariant.
Setup: Installation · Theming