Gallery 146 block design & features
Gallery146 is a portfolio gallery built with shadcn/ui and Motion. A heading and short description sit above a row of eight project photos in wide, tall and square formats, each captioned with its name, city and year, with a thin progress line underneath.
Visitors can drag the row with a mouse or swipe it on a phone, and it glides to a stop when let go. Horizontal trackpad scrolling moves it too. The line beneath works as a scrubber: click anywhere on it to jump there, drag its handle to move through the projects, or focus it and use the arrow keys. Row and line always stay in step.
When nobody is touching it the row drifts slowly from end to end, pausing on any input and picking up again a few seconds later. Visitors who prefer reduced motion get a still row that can still be dragged and scrubbed. It suits architecture practices, design studios and photographers, and surfaces use theme tokens so it works in light and dark mode.
