Pagination

navigationFreeMIT

Previous and next with a page number that rolls digit by digit.

Adapted from Watermelon UI (MIT) and rewritten with keyboard support, labels and reduced motion.

npx shadcn@latest add https://mikkelmanniche.dk/lab/r/pagination.json
Width

Preview

The preview could not load.

Live demo in the dark theme.

Details

Files

  • pagination.tsx
  • rolling-number.tsx