Skip to content

BadgeColor

BadgeColor = LiteralUnion<"neutral" | "primary" | "success" | "warning" | "error" | "info">

Defined in: src/components/primitives/Badge/Badge.types.ts:31

Semantic color name or an arbitrary CSS color string.

Named colors map to Entangle theme accents:

  • neutral → muted text
  • primary / info → accent primary
  • success / warning / error → corresponding accent

Any other string (hex, rgb, hsl, etc.) is used verbatim.