A gallery board that never ends: images or your own nodes tile a grid that wraps in both directions, and only the cells near the viewport are rendered and recycled. Drag to pan with inertia, scroll or swipe a trackpad, or use the arrow keys to glide one cell at a time and Enter to open the centered tile. Clicks under the drag threshold call onSelect. An optional slow drift pans it on its own while it is on screen. Loops pause off screen and in hidden tabs; with reduced motion it still pans but drops inertia and drift.
pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/infinite-canvas.json"