Umbra UI

Badge

A compact label for status, counts and categories.

Staticimport { Badge } from 'umbra-ui'

Props

PropTypeDefaultDescription
dot booleanfalseShows a status dot before the label.
size "sm" | "md"mdBadge height.
tone "accent" | "neutral" | "danger" | "success" | "warning" | "info"neutralColour intent.
variant "solid" | "soft" | "outline"softVisual weight.

Usage notes

Not interactive. For a removable chip, compose your own from a Badge and an IconButton.

Accessibility

  • Tone is never the only signal: keep the text meaningful.
  • The status dot is decorative.

Import

import { Badge } from 'umbra-ui';
import 'umbra-ui/styles.css'; // once, at the root of your app