Component recipe · Data display

Badge

Compact semantic status label with paired foreground/background tokens.

Web · liveiOS · native pathAndroid · native path

This is the real BeeUI Web Showcase, lazy-loaded in place. The code tab displays the exact typechecked runtime fixture selected for this preview.

Composition

Public anatomy

  • Badge
  • badgeLabelVariants
  • badgeVariants

The recipe uses the public @beemvp/beeui-ui boundary. Source-owned consumers can use pnpm beeui -- add badge from a BeeUI checkout.

Contract

What remains canonical

Behavior, accessibility, provider requirements, density/theming and platform limitations stay authoritative in the component docs. This recipe is a fast preview-and-copy surface, not a second API contract.

Read Badge docs →