Skip to content

Block 162 of 297

Voter Info

Election day, key deadlines, early voting sites, what to bring, sample ballot and accessible voting options.

Puck key
VoterInfoBlock
Export
voterInfoBlock
React component
<VoterInfo />
Path
components/puck/voter-info-block.tsx
Dependencies
None
License
MIT

About this block

When to use it, how to write for it, and what to change in the code.

What it's for

A one-page election guide: election day callout and register and sample ballot buttons on the left, a key dates timeline on the right, then panels for early voting sites, what to bring and accessible voting, with an elections office contact line at the end. Panels stack in a single column on phones. It is built for the weeks before a specific election.

  • A city clerk or elections office page for an upcoming election
  • A library or civic group's voter guide page
  • A home page section linked from election reminder emails
Writing the content
  • Write Election day in full, like "Tuesday, November 3, 2026"; it fills the colored callout.
  • Key dates holds up to six items and early voting sites up to ten. In Hours, put each schedule on its own line.
  • Enter What to bring and Accessible voting options one item per line; each becomes a checklist item. The What to bring panel needs its heading plus items or a note to appear.
Accessibility
  • Panel headings sit one level below the main Heading level, and early voting site names one level below that, keeping a nested outline (WCAG 1.3.1).
  • Key dates are an ordered list in date order; the timeline dots are hidden from screen readers.
  • Buttons are at least 48px tall, links at least 44px, and all show an indigo focus outline (WCAG 2.4.7).
Customizing the code
  • The election day callout is bg-indigo-700 and the register button bg-neutral-950; change these classes to match your colors.
  • The lines helper splits textareas on new lines; reuse it if you add more list fields.

Editor fields

What content editors see in the P1 sidebar when they select this block.

  • Eyebrowtext
  • Headingtext
  • Heading levelselect
  • Introtextarea
  • Election daytext
  • Polling hourstext
  • Register link texttext
  • Register linktext
  • Sample ballot link texttext
  • Sample ballot linktext
  • Key dates headingtext
  • Key datesarray
  • Early voting headingtext
  • Early voting datestext
  • Early voting sitesarray
  • What to bring headingtext
  • What to bringtextarea
  • What to bring notetextarea
  • Accessible voting headingtext
  • Accessible voting texttextarea
  • Accessible voting optionstextarea
  • Elections officetext
  • Office phonetext
  • Office emailtext