Ship-It Designv0.0.20

GitHub

EntityBadge

Each example below is a real component instance — flip the theme toggle to see how it adapts.

Default#

Loading…

All Types#

Loading…

Props#

Props for EntityBadge
PropTypeDefaultDescription
type *EntityType
labelReactNodeOverride the visible label. Defaults to the canonical type label.
hideGlyphboolean | undefinedHide the leading glyph.
colorstring | undefinedArbitrary CSS color override. When set, replaces the `variant` tint.
size"sm" | "md" | "lg" | null | undefined
dotboolean | undefinedShow a colored leading dot.
iconReactNodeOptional leading icon (defers to children).