Component packs › Shuffle › Deal List
Rows leave a deck in the corner face down, spin across and turn face up as they land in their slots; dealing again sweeps the old hand off first.
Deal List is a list 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: dealt rows, flip in flight, sweep off.
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 |
|---|---|---|---|
items | DealListItem[] | ||
label | string | Accessible name of the list. | |
dealLabel | string | Button text; empty to hide it. | |
onDeal | () => void | ||
autoplay | number | false | Showcase mode: deals again every N ms while visible. |
deal(items?: DealListItem[]): voiddestroy(): voidimport DealList from './DealList';
<DealList />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.