Card
A container for displaying content with an optional header, cover, and actions.
When to Use
- To group related information in a box
- For product listings, profile cards, or summaries
- When content needs a header with title and actions
Import
Examples
Basic
No Border
Hoverable
Loading
With Actions
API
CardProps
title—ReactNode— Card header titleextra—ReactNode— Extra content in header (e.g., links)cover—ReactNode— Cover image at topactions—ReactNode[]— Action list at bottombordered—boolean— Show border (default:true)hoverable—boolean— Lift on hover (default:false)loading—boolean— Show skeleton placeholder (default:false)size—"default" | "small"— Card size (default:"default")type—"inner"— For nested cardsbodyStyle—CSSProperties— Body container stylesheadStyle—CSSProperties— Header styles
Card.Meta Props
title—ReactNode— Meta titledescription—ReactNode— Meta descriptionavatar—ReactNode— Avatar element