Tier badge
v0.58.0, changelogA dataset's licence tier as a tag, the code in mono with its meaning ("T1 · Non-commercial") or alone, T0 grey and restricted tiers outlined, never a status colour.
Tiers
Install
npx shadcn add @syncrobotic/tier-badge Also installs: @syncrobotic/badge
Overview
When to use
- The Tier column of a data catalog, compact.
- Beside a dataset's name on its page, with the words.
- A release check that lists what each dataset may be used for.
Use something else
- A dataset's state (blocks release, held back): Inline status and eyebrow (InlineStatus).
- Any other category: Badge with tone neutral or outline.
More examples
States and real uses. Each example is also a Storybook story and a visual regression test.
Compact
Traditional Chinese (zh-TW)
Usage rules
- A dataset's licence tier, wherever the dataset is named: a row, a page header, a release check.
- With its words by default;
compact(the code alone) only in a column headed Tier. Screen readers hear the words either way. - T0 is grey, the restricted tiers outlined. A tier is a category, not a state: never a status colour, never red for T3.
Changelog
- 0.58.02026-11-28Stable: shipped ten releases with no breaking change, with unit tests, measured accessibility (components) and use/instead docs. Its API now changes only after a release deprecates what goes, with a migration line.
- 0.53.02026-11-27Its doc opens with its description, word for word; the code is unchanged.
- 0.51.02026-11-27Comments trimmed to what they need to say; the code is unchanged.