search⌘K

Tag

Last Updated: September 2026

Tags are non-interactive, purely informational visual cues that expose traits of some entity. They support prefixes as well as color variants for added layers of information communication.

Anatomy

link
Dotted grid scale: 8px
  1. 1Small
  2. 2Small
  3. 3Medium
  4. 4Medium

Variants

link

Colors

Thirteen palette colors from cyan through teal.

With icon

Optional leading icon reinforces meaning.

Sizes

link

Tags support 3 sizes: XS, S, and M.

Line spacing scale: 8px
24px
28px
36px

Usage Guidelines

link

When to use

  • •To label categories, filters, or metadata in a compact chip.
  • •For semantic tones (success, danger) via color choices like green/red.
  • •In tables, cards, and score trends where space is limited.

When not to use

  • •For interactive toggles — use Toggle Button or a filter control.
  • •For process status dots — use DotStatus.
  • •For multi-step progress — use Stepper.
checkDo

Keep labels short and categorical (1–2 words).

closeDon't

Don't put sentences or unique IDs in tags.

checkDo

Match color to meaning (green success, red denied, orange caution).

closeDon't

Don't use calming colors for negative outcomes.

Behaviors

link

Sizing

  • •size: xs | sm | md (default md).
  • •xs is text-toned without a subtle fill; sm/md use subtle background fills.

Icons

  • •Pass icon with a Material Symbol name.
  • •Icon size is fixed in the component — keep labels short so the chip stays compact.

Content Guidelines

link

Labels

  • •Sentence case ('In network', not 'IN NETWORK').
  • •Prefer nouns or short adjectives over verbs.
  • •Synthetic categories only — never real MRNs or patient names.

Accessibility

link

Text & Labels

  • •Label is required visible text — don't rely on icon alone.
  • •Color must not be the only means of conveying meaning.

ARIA attributes

  • •Renders a span — add aria attributes only if the tag conveys critical status without surrounding context.

Keyboard Support

  • •Tag is not interactive and is not in the tab order.

WCAG Compliance Standards

FAQs

link

Is Tag clickable?

No — Tag is a presentational span. Use a button or filter control for interaction.

When should I use xs?

When you need a minimal, fill-less label that still carries the color tone — denser metadata rows.

Which colors are available?

cyan, blue, indigo, violet, purple, magenta, slate, neutral, red, orange, yellow, green, teal.

link