ortaui
  1. Components
  2. Data display

Badge

Small pill label. overlay sits on top of media; neutral, outline and primary are for chrome and status.

Installation#

npx shadcn add @ortaui/badge

Examples#

Variants#

neutraloutlineprimary
overlay
InfoLink

API reference#

PropTypeDefaultDescription
surface"default" | "raised"autoLook on a panel. Unset: raised (page fill + border) inside any [data-surface] container. "raised" forces it anywhere; "default" keeps the muted fill even inside a surface.
variant"neutral" | "outline" | "primary" | "overlay""neutral"Visual style.
renderReactElement-Render as another element, e.g. a link.