Skip to content
PixiKit

Winding Strip

A strip of picture cards winding through space: the view rides along it, pulls back to show the whole path, and flies to a card when you click it.

pixikit.com/docs/components/winding-strip

Customize

Preset
Count72
Path
Tour
Interval9.0s
Speed0.60
Card size0.72
Aspect1.00
Radius0.12
Offset1.00
Fov60°
Fog1.00
Thread0.30
Shadow0.50
Accent color
Background color
Focus on click
Hold to reveal
Captions
Interactive
Draggable
Wheel
Pause on hover
Seed0
Paused

Props

33
NameTypeDefaultDescription
itemsWindingStripItem[]DEFAULT_ITEMSThe pictures; they repeat until count is filled.
preset"ribbon" | "knot" | "crown" | "atlas" | "drift" | "rush""ribbon"A named setup. Values you leave at their defaults follow it.
countnumber72How many cards sit along the path.
path"loop" | "knot" | "wave""loop"Shape of the path through space.
tour"cycle" | "ride" | "overview""cycle"'ride' travels along the path, 'overview' shows all of it, 'cycle' alternates.
intervalnumber9Seconds between ride and overview in the cycle tour.
speednumber0.6Travel speed; negative rides backwards.
cardSizenumber0.72Card size.
aspectnumber1Card width divided by height.
radiusnumber0.12Corner rounding, as a share of the card.
offsetnumber1How far the view rides from the strip.
fovnumber60Field of view in degrees.
fognumber1How quickly far cards fade into the background.
threadnumber0.3Opacity of the line that threads the cards.
shadownumber0.5Strength of the shadow under the cards.
accentColorstring"#B19EEF"Color of the thread and the focus ring.
backgroundColorstring"transparent"Color behind the cards.
focusOnClickbooleantrueClicking a card flies to it and shows its caption. Click again or press Escape to ride on.
holdToRevealbooleantruePress and hold to pull back and see the whole path; drag while holding to turn it.
captionsbooleantrueShows the title and subtitle of the focused card.
interactivebooleantrueEnables hover, clicking, holding and dragging.
draggablebooleantrueDragging travels along the path with inertia.
wheelbooleantrueScrolling travels along the path. Set false to leave page scrolling untouched.
pauseOnHoverbooleantrueStops riding while the pointer rests on a card.
seednumber0Changes which picture lands on which card.
pausedbooleanfalseFreezes the ride.
dprnumber2Kept for parity with canvas galleries; this one is drawn by the browser at its own pixel ratio.
ariaLabelstring"Winding picture strip"Label announced for the gallery.
onFocusChange(item: WindingStripItem | null, index: number) => voidNoneCalled when a card gains or loses focus.
refRef<WindingStripHandle>NoneHandle with travel, focus, release and reveal.
childrenReactNodeNoneContent laid over the gallery.
classNamestringNone
styleCSSPropertiesNone

Related