Card
Surface container with optional header, body, and footer slots. Pure HTML — no base-ui dependency.
Route traffic through the API gateway to apply rate limiting, auth, and logging.
Deploy serverless functions at the edge with sub-millisecond cold starts.
Card
Surface container with optional header, body, and footer slots.
Pure HTML — no base-ui dependency.
| Prop | Type | Default |
|---|---|---|
| elevated | boolean | — |
Apply a raised shadow for layered surfaces. | ||
| interactive | boolean | — |
Add hover/active states for clickable cards. | ||
CardHeader
Header area with optional heading and description.
| Prop | Type | Default |
|---|---|---|
| heading | ReactNode | — |
Card heading rendered in the header area. | ||
| description | ReactNode | — |
Secondary text below the heading. | ||
CardBody
Padded body content area.
No custom props — accepts all standard HTML attributes.
CardFooter
Footer area, typically used for actions.
No custom props — accepts all standard HTML attributes.
CSS Class Names
Available as keys on the CardStyles object. Each key maps to a hashed CSS module class name at runtime.
bodydescriptionfooterheaderrootroot-elevatedroot-interactivetitle