Component packs › Transit › Stops Pagination

Stops Pagination

Pages are stations and skipped runs are express track: the train barely gets going on a short hop and speeds up across a long jump.

Stops Pagination is a pagination from Transit, a component pack with 8 components: Navigation components drawn as one metro line. Price: $2 for the whole pack.

Built with: express track, shifting window, prev/next.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Stops Pagination props

PropTypeDefaultDescription
pagesnumber20Number of pages. Default 20.
valuenumber
onChange(page: number) => void
theme'dark' | 'light'
autoplaybooleanShowcase mode: hops and jumps until touched.

Methods on the ref

Use it in React

import StopsPagination from './StopsPagination';

<StopsPagination />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Transit

Good for: Navigation and menus.