KQ-088 · CAMERA/RAIL

Camera Rail

A content monorail that rides past a fixed camera — cars recede left and right of the platform, a drag or the arrow keys drive the rail, and a release throws it on momentum before it snaps the nearest station to center under a stop marker.

KQ-088 · CAMERA/RAIL

COAST LINE · 05 STATIONS

KQ-088

SIGNAL YARD at the platform

AT PLATFORM · SIGNAL YARD

Drag the rail - a station glides in and snaps to the platform.

Install

One command — the source lands in your repo. Or copy it from the Code tab.

$ pnpm dlx shadcn@latest add @kinetiq/camera-rail

Props

PropTypeDefaultDescription
stationsRailStation[]Cars evenly spaced along the rail, left to right.
value / defaultStationstringControlled or initial station at the platform.
onArrive(id) => voidFires the station id once it settles at the platform.
heightnumber280Rail stage height in px.