Skip to content
Pebble Pro is here at $49 one timeSee what’s included ↗
Pebble
ComponentsDocsMCPPricing
⌕ Find a component↗Log in
All components 673

Categories

Core inputs & forms46Buttons & actions33Navigation36Overlays & feedback49Data display33Charts & data viz40Cards & layout43Marketing blocks38App shells & pages37AI interfaces40Text & typography effects33Backgrounds & visual effects38Motion & transitions32Numbers & counters32Media34E-commerce333D & interactive36Themed sets40
Start with the essentials.Installation guide ↗Connect your agent ↗
← All componentsCards & layout

Poll Card

Poll card: question and option buttons; after voting, bars fill with percentages and counts and your choice is ringed; time left from a fixed now; a closed state highlights the winner.

Preview

Malik asked

Where should the team offsite be this spring?

59 votes·2 d 4 h left

Default theme for new workspaces?

  • Light4131%
  • Dark5744%
  • Follow the system3325%
131 votes·2 h 40 min left
Ines asked

Name for the new reading room?

  • The LanternWinner7239%
  • Quiet Corner4826%
  • Page & Pause6435%
184 votes·Closed Nov 1

Install

Pro source requires Pebble Pro. Try the full preview above.

Props

PropTypeDefaultDescription
questionstring—The question; names the card.
options{ id; label; votes }[]—Choices with their current vote counts.
nowstring—Local time "YYYY-MM-DDTHH:MM" for time left; the clock is never read.
closesAtstring—Close time; at or before now the poll shows as closed with the winner.
author{ name: string; avatar?: ReactNode }—"<name> asked" above the question.
defaultVotestring | nullnullOption already voted for (assumed included in its votes).
onVote(id: string | null) => void—Called on vote, or null when the vote is taken back.
allowChangebooleantrueShows Change vote while open.
localestring—Number and date formatting.

Pro component

Try the full preview above. Editable source and build guides require Pebble Pro.

Buy Pebble Pro — $49How source access works ↗
Pebble

Small details.
Better interfaces.

React components to explore, make your own, and build on.

Library

  • Components
  • Installation
  • Pricing

Resources

  • For agents
  • About
  • Support

Legal

  • License
  • Terms
  • Privacy
  • Final sale

Built by Pebble

A product of Praxys Solutions LLC ↗

Pebble Pro is live

$49 one time, lifetime updates ↗