Component packs › Hearsay › Quick Poll

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.

Quick Poll props

PropTypeDefaultDescription
questionstring
options{ label: string; votes: number }[]
onVote(index: number) => void
autoplaynumber | falseShowcase mode: other people vote every N ms while visible.

Methods on the ref

Use it in React

import QuickPoll from './QuickPoll';

<QuickPoll />

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

More in Hearsay

Good for: Feedback widgets.