Component packs › Kudos › Upvote List
Vote for a row and the card lifts off the list, its count rolls up and it overtakes the row above while still in the air, then lands.
Upvote List is a vote 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: lift then FLIP reorder, rolling counts, votes from others move it too.
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 | UpvoteItem[] | ||
onVote | (id: string, voted: boolean, votes: number) => void | ||
dark | boolean | ||
autoplay | number | false | Showcase mode: other people vote every N ms. |
bump(id: string, n?: number): void: Add votes from someone else.readonly items: UpvoteItem[]destroy(): voidimport UpvoteList from './UpvoteList';
<UpvoteList />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Gamification and reactions.