Gull Point
0 kmStart at the car park above the dunes
A tall section whose pinned row of cards travels sideways as the page scrolls down, one pixel of scroll for one pixel of travel.
Eight stops over 18 km, scroll down to walk the route
Start at the car park above the dunes
A boardwalk over the reed beds
The steepest climb of the day
Water tap and a bench facing west
Harbour café, open until four
A shaded path through the pines
The last crossing leaves at nine
End of the path, bus back to town
Harbor Lane organisers set it up on a Sunday evening
Place every pitch on the map of the street, with its size and whether it is covered
Choose the market days of the season and the time traders can set up
Send one link to last season’s traders, who keep their usual pitch
Traders pay at the end of the week, once they have seen the forecast
One switch moves everyone to a covered pitch and sends them the new time
npx shadcn@latest add https://ui.ndekocode.dev/r/motion-horizontal-scroll.jsonThe section is as tall as the frame plus the width the row overflows, so the row has finished its travel exactly when the section ends. With reduced motion, the frame stops pinning and the row becomes a normal horizontally scrollable row. When a card or a link inside it receives keyboard focus, the page scrolls to the point where it is in view.
| Prop | Type | Default | Description |
|---|---|---|---|
| children | React.ReactNode | The cards of the row. Give them a fixed width and shrink-0. | |
| containerRef | RefObject<HTMLElement | null> | The scrolling element, when it is not the page. It needs a non-static position. | |
| frameClassName | string | h-svh | Classes of the pinned frame. Its height should match the height of the scrolling area. |
| trackClassName | string | Classes of the row, merged over flex w-max gap-4 px-6. | |
| showProgress | boolean | false | Shows a thin bar under the row that fills as the row travels. |
| aria-label | string | A name for the section, read by screen readers. | |
| className | string | undefined | Optional CSS class for the section. |