Card
The plain card recipe, a filled panel with rounded corners and no border or shadow, that groups content on a page.
Card
Card is a filled panel that groups content on a page, with rounded corners and no border or shadow. strong sits a step darker and rounder, for the one card a page leads with. A host that dresses every card differently, such as an admin console on white, sets --card-fill and --card-pad rather than a background, because the component's own utilities beat a host rule on the element.
Storybook
Loading
Props
Prop
Type
Also takes the attributes of the element it renders.
Tokens
Derived from the component source at docs-generation time — these are the --augds-* variables it reads. None of them is a colour slot, so ThemeProvider does not reach them — they come from the v2 token sheets. Never hard-code a value in their place.
--augds-fill-1--augds-fill-2--augds-radius-primitive-16--augds-radius-primitive-20--augds-spacing-16--augds-spacing-20
Source
src/components/ui/card/card.tsx