Component packs › Transit › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
pages | number | 20 | Number of pages. Default 20. |
value | number | ||
onChange | (page: number) => void | ||
theme | 'dark' | 'light' | ||
autoplay | boolean | Showcase mode: hops and jumps until touched. |
readonly value: numberset(page: number): voiddestroy(): voidimport StopsPagination from './StopsPagination';
<StopsPagination />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Navigation and menus.