Component packs › Shuffle › Deal List

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.

Deal List props

PropTypeDefaultDescription
itemsDealListItem[]
labelstringAccessible name of the list.
dealLabelstringButton text; empty to hide it.
onDeal() => void
autoplaynumber | falseShowcase mode: deals again every N ms while visible.

Methods on the ref

Use it in React

import DealList from './DealList';

<DealList />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Shuffle

Good for: Skeuomorphic UI.