Component packs › Shuffle › Riffle Loader
The deck splits, the halves riffle together card by card from the bottom and the pile bridges and squares; on done() the top card turns over to show what the shuffle left there.
Riffle Loader is a loader 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: true riffle order, bridge, reveal on done.
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 |
|---|---|---|---|
loading | boolean | ||
label | string | Accessible name. | |
onDone | (card: string) => void | Called with the card left on top when done() finishes. | |
autoplay | number | false | Showcase mode: alternates loading and done every N ms while visible. |
readonly loading: booleanstart(): voiddone(): voiddestroy(): voidimport RiffleLoader from './RiffleLoader';
<RiffleLoader />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.