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| Name | Type | Default | Description |
|---|---|---|---|
items | WindingStripItem[] | DEFAULT_ITEMS | The 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. |
count | number | 72 | How 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. |
interval | number | 9 | Seconds between ride and overview in the cycle tour. |
speed | number | 0.6 | Travel speed; negative rides backwards. |
cardSize | number | 0.72 | Card size. |
aspect | number | 1 | Card width divided by height. |
radius | number | 0.12 | Corner rounding, as a share of the card. |
offset | number | 1 | How far the view rides from the strip. |
fov | number | 60 | Field of view in degrees. |
fog | number | 1 | How quickly far cards fade into the background. |
thread | number | 0.3 | Opacity of the line that threads the cards. |
shadow | number | 0.5 | Strength of the shadow under the cards. |
accentColor | string | "#B19EEF" | Color of the thread and the focus ring. |
backgroundColor | string | "transparent" | Color behind the cards. |
focusOnClick | boolean | true | Clicking a card flies to it and shows its caption. Click again or press Escape to ride on. |
holdToReveal | boolean | true | Press and hold to pull back and see the whole path; drag while holding to turn it. |
captions | boolean | true | Shows the title and subtitle of the focused card. |
interactive | boolean | true | Enables hover, clicking, holding and dragging. |
draggable | boolean | true | Dragging travels along the path with inertia. |
wheel | boolean | true | Scrolling travels along the path. Set false to leave page scrolling untouched. |
pauseOnHover | boolean | true | Stops riding while the pointer rests on a card. |
seed | number | 0 | Changes which picture lands on which card. |
paused | boolean | false | Freezes the ride. |
dpr | number | 2 | Kept for parity with canvas galleries; this one is drawn by the browser at its own pixel ratio. |
ariaLabel | string | "Winding picture strip" | Label announced for the gallery. |
onFocusChange | (item: WindingStripItem | null, index: number) => void | None | Called when a card gains or loses focus. |
ref | Ref<WindingStripHandle> | None | Handle with travel, focus, release and reveal. |
children | ReactNode | None | Content laid over the gallery. |
className | string | None | |
style | CSSProperties | None |