Badge

Compact metadata for status and categories.

Usage

defaultsecondarydestructiveoutlineghostlink

Variants and states

Example

Guidelines

These examples use the installed shared component directly. Adjust its source in packages/ui to update the website and this page together. Test keyboard focus, narrow screens, and both appearance modes before adopting a change.

Badge currently has one size. Use text to communicate status; color alone is not enough. Its default and outline variants intentionally share the current minimal treatment.

Last updated