Card
A framed surface with an optional header and footer, a muted well tone and a hover lift.
pixikit.com/docs/components/card
Customize
Tone
Footer tone
Padding
Bleed
Interactive
Props
9| Name | Type | Default | Description |
|---|---|---|---|
header | ReactNode | None | A title row above the content, set off by a line. |
footer | ReactNode | None | A row below the content, set off by a line. |
children | ReactNode | None | The content. |
tone | "plain" | "muted" | "plain" | `plain` is a card surface, `muted` is a recessed well. |
footerTone | "plain" | "muted" | "plain" | `muted` tints the footer row. |
padding | "none" | "sm" | "md" | "lg" | "md" | The space around the content; `none` lets an image or a table touch the edges. |
bleed | boolean | false | Goes edge to edge, with no radius or side borders, when its container is narrow. |
interactive | boolean | false | Lifts a little and strengthens the border on hover, and rings when a link inside has focus. |
className | string | None |