Card
Use for structured information blocks, settings panels, and content containers
Card is the main structured container component family.
Import
import {
Card,
CardHeader,
CardTitle,
CardDescription,
CardContent,
CardFooter,
} from "@downcity/ui";Basic Example
Loading preview…
Subcomponents
CardCardHeaderCardTitleCardDescriptionCardActionCardContentCardFooter
Sizes
size="default"size="sm"
Usage Notes
- Prefer the full composition instead of dumping everything into
CardContent - Use
CardActionfor top-right auxiliary actions - Use
CardFooterfor the bottom action row