Card
v0.17.2One surface with radius 16 for a group of related content.
Card default
Install
npx shadcn add @syncrobotic/card Also installs: @syncrobotic/cn
Overview
One raised surface that holds a group of related content.
When to use
- A robot's summary, a KPI, a settings section.
Use something else
- Rows of similar items: Grouped list or Table inside one card. Cards are never nested.
- Label and value pairs: Description list.
More examples
States and real uses. Each example is also a Storybook story and a visual regression test.
Card with list
Card stat
Card with action
Card interactive
Card empty
Usage rules
- Never nest cards. Group rows inside one card with separators.
Changelog
- 0.17.22026-11-19New CardDataHeader and CardFigure: the one header for a card of data (title, figure, controls).
- 0.5.02026-11-17First versioned release. Earlier history is in CHANGELOG.md.