Launch prototype

Components

Badge

A compact, non-interactive status label. Types, colours, sizes, and demo sections are all driven from config/design-system.config.ts.

Component Playground

Live instance - the controls read their options from the same config that drives the Variants section below.

Badge
pill-color · brand · md

Controls

Type

Style

Size

Colour

Label

Types

Two shapes: pill-color (fully rounded) and color (soft rounded rectangle).

Pill colour

BadgeActiveFailed

Badge colour

BadgeActiveFailed

Colours

Use gray for neutral status, brand for informational, and error/warning/success for outcome status.

All colours - pill-color

GrayBrandErrorWarningSuccess

Sizes

Small / Medium / Large

SmallMediumLarge

With dot

A leading status dot - most common for live/active states. Figma defines filled, backgroundless, and square badge-colour dot styles.

Filled pill

OnlineOfflineAwayDo not disturb

No background

OnlineOfflineAwayDo not disturb

Square colour

BrandSuccessWarningError

With icon

Leading or trailing icon, passed as an @untitledui/icons component.

Icon leading / trailing

FeaturedVerifiedBoosted

Icon only

No label

With dismiss button

An inline close button - used for removable filters and selected tags.

Dismissible

DesignEngineeringUrgent

Badge group

A badge with an attached addon label - used to pair a metric with its context, e.g. a trend value next to a description.

Leading / trailing addon

New12 updates
Conversion rate+40%
Live3 issues

API

PropTypeDefault
type"pill-color" | "color" | "modern""pill-color"
size"sm" | "md" | "lg""md"
colorBadgeColors (12 options)"gray"
backgroundboolean (BadgeWithDot pill-color)true
childrenReactNode-

Token anatomy

Badge colours pull from a separate utility colour scale (distinct from the primitive Brand/Error/Warning/Success palette) - a wider set of 50/100/200/500/700 steps built for badges, tags, and avatars.

ColourBackgroundTextRing
grayutility-neutral-50utility-neutral-700utility-neutral-200
brandutility-brand-50utility-brand-700utility-brand-200
errorutility-red-50utility-red-700utility-red-200
warningutility-yellow-50utility-yellow-700utility-yellow-200
successutility-green-50utility-green-700utility-green-200

Usage

import { Badge } from "@/components/base/badges/badges";

<Badge type="pill-color" color="success">Active</Badge>

Figma

Source: DS - Foundations / Badges. The documented set now includes the Figma backgroundless dot pill variation.