BasePrimitives
Card
Card from the Base package.
Loading Card…
Source code
Waiting for the preview before loading source files · 2 of 2
Properties
Public properties derived from the component’s TypeScript signature.
| Property | Type | Default |
|---|---|---|
childrenRequiredHeader, main content, and footer. Main content remains unwrapped. | StrictChildren<"CardFooter" | "CardHeader" | BaseStrictContentChildKind> | — |
gapOptionalGap between the three card slots. | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | — |
allowNestedSurfaceOptionalExplicit exception for rendering a framed card inside another framed surface. | { reason: string; } | — |
radiusSizeOptionalTheme radius scale used when radius="theme" (default: 4). | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 4 |
paddingOptionalPadding (0-7 theme scale, or auto from radius). | 0 | 1 | "auto" | 2 | 3 | 4 | 5 | 6 | 7 | "auto" |
radiusOptional | "theme" | "full" | — |
aspectOptional | "auto" | "square" | — |