Component packs › Kudos › Reaction Picker
Five faces we drew ourselves rise in the tray; the one you pick drops onto the post, lands with a squash and joins its pile.
Reaction Picker is a reactions 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: own drawn face tokens, drop and squash landing, roving keyboard tray.
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 |
|---|---|---|---|
counts | Partial<Record<ReactionKind | Counts already on the post. | |
mine | ReactionKind | null | Your reaction, if any. | |
onReact | (kind: ReactionKind | null, counts: Record<ReactionKind, number>) => void | ||
dark | boolean | ||
autoplay | number | false | Showcase mode: opens and picks every N ms. |
readonly mine: ReactionKind | nullreact(kind: ReactionKind | null): voiddestroy(): voidimport ReactionPicker from './ReactionPicker';
<ReactionPicker />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Gamification and reactions.