Component packs › Kudos › Clap Stack
Hold and claps drop one by one onto a stack of tokens, faster as you hold, each landing with a bounce while the total rolls up.
Clap Stack is a clap from Kudos, a component pack with 6 reaction controls: Likes, votes and reactions as physical things: cards lift, ribbons drop, tokens stack. Price: $2 for the whole pack.
Built with: press and hold with acceleration, coin tokens with gravity bounce, per-person cap.
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 |
|---|---|---|---|
count | number | 312 | Claps from everyone else. Default 312. |
max | number | 30 | Most claps one person can give. Default 30. |
onClap | (yours: number, total: number) => void | ||
dark | boolean | ||
autoplay | number | false | Showcase mode: holds for a moment every N ms. |
readonly yours: numberreadonly total: numberdestroy(): voidimport ClapStack from './ClapStack';
<ClapStack />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Gamification and reactions.