Component packs › Hearsay › Quick Poll
Each option has its own cork strip; your vote flies there as a pin and other votes arrive the same way, so the result fills in before your eyes.
Quick Poll is a poll from Hearsay, a component pack with 6 feedback widgets: Feedback widgets where every answer is pinned to a board you watch fill. Price: $2 for the whole pack.
Built with: strip per option, pins as votes, percentages add to 100.
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 |
|---|---|---|---|
question | string | ||
options | { label: string; votes: number }[] | ||
onVote | (index: number) => void | ||
autoplay | number | false | Showcase mode: other people vote every N ms while visible. |
readonly votes: number[]destroy(): voidimport QuickPoll from './QuickPoll';
<QuickPoll />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Feedback widgets.