Skip to content

ButterIX v1 is out: versions, multiple languages, Ask AI, and a per-site MCP server, all built in. →

Badge

<Badge> (alias <Pill>) is a small inline label for status, versions or methods.

A small inline label (alias <Pill>):

<Badge intent="success">Stable</Badge>
<Badge intent="warning" minimal>Beta</Badge>
<Badge intent="error" outlined>Deprecated</Badge>
<Badge intent="violet" icon="lucide:sparkles">AI</Badge>
<Badge color="blue" shape="pill" size="sm">Pill</Badge>
<Badge mono>v1.2.0</Badge>

Stable Beta Deprecated AI Pill v1.2.0

intentsuccess | note | tip | warning | error | info | launch | check | violet | orangeDefault info
Color.
colorblue | green | yellow | orange | red | purple | gray | white | surface | …
Color name, mapped to the closest intent (blue→note, green→success, yellow→warning, red→error, purple→violet, gray / white / surface→info).
minimalbooleanDefault false
Light background.
outlinedbooleanDefault false
Outlined style (stroke also works).
sizexs | sm | md | lgDefault md
Size.
shaperounded | pillDefault rounded
Shape: rounded or pill.
iconicon
Leading icon.
monobooleanDefault false
Monospace font, good for version numbers.
disabledbooleanDefault false
Dimmed appearance.