Skip to content
PixiKit

Cover Card

A media card that shows its art whole in a fixed stage, so titles line up across a row. The art lifts and tilts on hover, and the whole card is one link or button. A grid brings the cards in one by one.

pixikit.com/docs/app-ui/lists/cover-card

Customize

Stage height220px
Disabled
Loading
Orientation

Props

15
NameTypeDefaultDescription
titlestring"Course title"The heading; it is also the link or button that makes the whole card clickable.
descriptionstringNoneA short line under the title.
artReactNode | stringNoneThe art: a node, or an image URL. It is shown whole, never cropped.
stageHeightnumber220Height in pixels of the stage the art sits in.
eyebrowstringNoneA small line above the title.
badgeCoverCardBadgeNoneA pill on the stage.
cornerstringNoneA small tag in the corner of the stage, such as "Soon".
statsCoverCardStat[]NoneA row of small facts at the bottom.
actionstringNoneThe call to action pinned to the bottom; its arrow glides on hover.
hrefstringNoneMakes the whole card a link.
onSelect() => voidNoneCalled when the card is chosen; makes the whole card a button.
disabledbooleanfalseDims the card and turns off its link and hover motion.
loadingbooleanfalseShows a skeleton in place of the content.
orientation"vertical" | "horizontal""vertical"`horizontal` puts the stage beside the text, and wraps under it when the card is narrow.
classNamestringNone

Related