Component packs › Shuffle › Deck Pagination
Next takes the top card off the draw pile, turns it over in the air and drops it skewed on the discard pile; the piles really thin and grow.
Deck Pagination is a pagination from Shuffle, a component pack with 6 card controls: Loaders, menus, lists and pickers made of playing cards. Price: $2 for the whole pack.
Built with: card per page, arc through the air, pile thickness.
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 | ||
page | number | ||
onChange | (page: number) => void | ||
autoplay | number | false | Showcase mode: turns pages every N ms while visible. |
readonly page: numbergo(page: number, silent?: boolean): voiddestroy(): voidimport DeckPagination from './DeckPagination';
<DeckPagination />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.