Skip to content
PixiKit

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
NameTypeDefaultDescription
headerReactNodeNoneA title row above the content, set off by a line.
footerReactNodeNoneA row below the content, set off by a line.
childrenReactNodeNoneThe 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.
bleedbooleanfalseGoes edge to edge, with no radius or side borders, when its container is narrow.
interactivebooleanfalseLifts a little and strengthens the border on hover, and rings when a link inside has focus.
classNamestringNone

More interaction components in Pro

View all

Related