Ship-It Designv0.0.20

GitHub

Tag

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

Default#

backend

With Icon#

#payments

Removable#

on-call

Custom color#

Pass any CSS color via the color prop to swap the default neutral tint for a brand or category color. Invalid colors fall back to the default tint; in dev, a console.warn names the offending value.

Loading…

Props#

Props for Tag
PropTypeDefaultDescription
onRemove(() => void) | undefinedOptional close button. When provided, a `×` rendered on the right calls it.
iconReactNodeOptional leading icon.
sizenumber | undefined22Pixel height. Defaults to 22px.
colorstring | undefinedArbitrary CSS color. When set, the default neutral tint is replaced with this color.