2D Swipe Engine
Zero dependencies
TypeScript
Swipe through a grid with variable row lengths, live components, and smooth transitions.
01 / Navigation
Four directions
One gesture moves one cell. Swiping up or down always opens the first cell of the adjacent row.
02 / Grid
Different lengths, one grid
Rows contain 10, 1, 3, and 5 cells. The map tracks your position and lets you jump to any cell.
03 / Components
Try it yourself
Swipe across the viewport or select a cell on the map to explore the grid.