Skip to content

Block 182 of 297

Community Input

Master plan engagement: phase timeline, input sessions, a survey with closing date, themes heard and accommodations.

Puck key
CommunityInputBlock
Export
communityInputBlock
React component
<CommunityInput />
Path
components/puck/community-input-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 public engagement hub for a plan or project. A four-phase timeline (Listen, Draft, Review, Adopt) marks where the project stands. Below it, upcoming input sessions and themes heard so far run down the left, and a dark survey card and an accommodations box sit on the right. On phones the timeline stacks into cards and everything else follows in one column.

  • A parks or comprehensive master plan engagement page
  • A single park redesign page collecting resident feedback
  • A budget or strategic plan input page for a public board
Writing the content
  • Set Current phase as the project moves; earlier phases show as Done and later ones as Coming up.
  • Include the weekday in each session Date, like "Tue, Oct 20". Write "Online" in Place and add Virtual link for virtual sessions. Up to 10 sessions fit.
  • Fill in Themes source with the response count and date so the themes have context. Up to eight themes fit.
  • Put a line in another language in Language assistance and set Language code, like es or vi.
Accessibility
  • The timeline is an ordered list labelled "Project timeline"; the current phase carries aria-current="step" and each card states "Done", "Happening now" or "Coming up" in text (WCAG 1.3.1, 1.4.1).
  • The language assistance line gets a lang attribute from Language code, so screen readers switch pronunciation (WCAG 3.1.2).
Customizing the code
  • Phase names and blurbs are fixed in the phases constant; edit it to rename stages, and the editor select updates to match.
  • The current phase is bg-indigo-700 and the survey card bg-neutral-950.

Editor fields

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

  • Eyebrowtext
  • Headingtext
  • Heading levelselect
  • Project summarytextarea
  • Project page link texttext
  • Project page linktext
  • Current phaseselect
  • Listen datestext
  • Draft datestext
  • Review datestext
  • Adopt datestext
  • Input sessionsarray
  • Survey titletext
  • Survey descriptiontextarea
  • Survey closestext
  • Survey button texttext
  • Survey linktext
  • Themes sourcetext
  • What we've heardarray
  • Accommodations notetextarea
  • Accommodations phonetext
  • Accommodations emailtext
  • Language assistancetext
  • Language codetext