Skip to content
PixiKit

Card Rail

A horizontal rail of feature cards that snaps as it scrolls, with arrow buttons and a mini screen on each card that a scanline sweeps on hover.

pixikit.com/docs/blocks/features/card-rail

Customize

Card width290px
Accent color

Props

8
NameTypeDefaultDescription
titlestring"One tool, every step"The heading beside the arrows. Leave empty for none.
descriptionstring"Scroll through what it does, from the first look to the last report."The line under the heading. Leave empty for none.
cardsCardRailCard[]DEFAULT_CARDSThe cards, left to right. `screen` lines show in a small dark screen at the bottom.
cardWidthnumber280Each card's width in pixels; narrower on small screens.
accentColorstring"#7c3aed"The icons and the scanline that sweeps a screen on hover.
prevLabelstring"Previous"What screen readers call the previous button.
nextLabelstring"Next"What screen readers call the next button.
classNamestringNone