The system
Everything below is read from the installed copy of @blakesteve/roster at build time. The component list, the token ramps, and the specimens are the library itself, not a description of it. Publish a change and this page reports it on the next deploy.
- Version
- 4.2.0
- Components
- 40
- Color families
- 9
- Production states
- 2
Each swatch is shown twice. The top half is the hex Roster ships; the bottom half is what var(--roster-*) resolves to on this page, after this site remaps it. Where the two halves differ, that is an override doing its job: same library, this site’s palette, no fork. Toggle the state above and the lower half repaints while the upper half holds still.
Parsed from the package’s own type definitions, so nothing here is transcribed. Names link to their Storybook page where one is deployed.
- Avatar
- AvatarStrip
- Badge
- Button
- Card
- Checkbox
- CollapsibleSection
- Disclosure
- Eyebrow
- InlineCode
- Input
- LabeledDivider
- Link
- LiquidTabs
- PasswordInput
- Pill
- SegmentBar
- Select
- Spinner
- Stat
- Switch
- Textarea
- ThemeToggle
- Tooltip
- Accordion
- Alert
- Breadcrumbs
- CallToAction
- DescriptionList
- EmptyState
- ErrorState
- MatchupCard
- Pullquote
- ActionBar
- Countdown
- DataTable
- Dialog
- Footer
- Navbar
- Table
Real components, rendered here rather than screenshotted. Press ⌥X and every one of them is outlined and named, which is also how you can check that this page is not drawing pictures of buttons.
Tokens are remapped here
- 40
- Components live · package exports
- 2
- States press, blueline
A component library that hardcodes its palette is a library you can use exactly once.
Wrapped in @layer roster, between components and utilities.