Browse the docs
Display / Tag

Tag

Status labels are strips of washi tape. Removable tags peel off when you dismiss them.

Server ComponentWCAG AASince v0.1
CriticalDispatchedEn routeResolvedUnassignedDotsGrid
Barangay 3Last 24 hoursFire

Change every prop live in the playground.

Props

PropTypeDefaultWhat it does
children requiredReactNode—Short label. Lettered in Sketchpop, uppercase.
classNamestringnone—
idstringnone—
onRemove() => voidnoneMakes the tag removable: shows an × button and peels the tag off when pressed.
pattern"stripes" | "dots" | "grid"stripesTape print.
removeLabelstring"Remove <label>"Accessible name of the remove button.
seedstring | numbernoneSeeds the default tilt.
status"critical" | "dispatched" | "en-route" | "resolved" | "unassigned"noneOps status shortcut: sets the tone from the status mapping. The label is still yours to write.
tiltnumbera small seeded tiltRotation in degrees.
tone"ink" | "periwinkle" | "mint" | "tomato" | "mustard" | "bubblegum"periwinkle (or the status color when status is set)Tape color.

Use it well

DoWrite the status in the label. The color only repeats it.
Don'tUse tags as buttons. Removable tags have a separate × button for that.

Accessibility

  • Status is always in the text; the color only repeats it.
  • The remove button is named "Remove <label>".
  • After removing, focus moves to the next tag (or the previous one).
Five stamps!

All aboard.

You took the whole tour. Here's Holo Pip, a foil sticker for riders who finish. It's in your playground tray now, for good.