Badges, alerts and cards
Badge to label and show states, Alert for in-page notices and Card to group content. All linked to color, space and radius tokens; text with a minimum contrast of 4.5:1.
Badge
Short label for states and categories. Tones Neutral, Info, Success, Warning and Error; Subtle style (soft background) or Solid (full background); sizes sm and md; optional dot or icon. Radius radius-full.
Alert
In-page notice. Tones Info, Success, Warning and Error with an icon on the left, -subtle background and a border in the status color. Width 480 by default; supports Fill. Optional action as a text link (color-action-strong, underlined) and a close button.
Card
Groups related content. Default (border and shadow-sm), Elevated (shadow-md) and Feature (surface-ink background). Radius radius-card 12, padding space-6. Optional parts: image, label, title, text and footer with Button. Hover state.
Tokens
Values linked in Badge, Alert and Card.
Contrast
Text: minimum 4.5:1 (WCAG AA).