Import
Usage
Props
string
default:"'primary'"
Card variant from
theme.cards. The component uses primary variant by default.ThemeUIStyleObject
Theme-aware styles for custom card appearance.
React.ElementType
Render as a different HTML element. Defaults to
div.Inherited Props
Card extends Box and accepts:- All standard HTML div attributes (or attributes for the element specified with
as) - Box spacing props (m, p, mx, my, px, py, etc.)
- Box color props (color, bg, opacity)
