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
| Prop | Type | Default | Description |
|---|---|---|---|
| stations | RailStation[] | — | Cars evenly spaced along the rail, left to right. |
| value / defaultStation | string | — | Controlled or initial station at the platform. |
| onArrive | (id) => void | — | Fires the station id once it settles at the platform. |
| height | number | 280 | Rail stage height in px. |