Components
Components
Card
Elevated panel with optional header, body, and footer.
stablefree
Install
@hewnui/ui · hewnui
Card is for hierarchy that needs a surface — not a wrapper around every metric.
Prefer divide and spacing on dense desks.
p95 latency
211ms
Median held at 47ms through the canary window.
-14msvs prior window
Usage
Accessibility
- Card is a generic grouping element with no implicit widget role
- Put headings in
Card.Headerso the structure is readable without color - Do not nest interactive regions that already have their own labels without a heading
API reference
Props for Card from @hewnui/ui/card. Generated from component types — not hand-written.
Prop
Type