Block 129 of 297
Mission & Pillars
A large mission statement with an optional vision line and auto-numbered values or program pillars.
- Puck key
- MissionPillarsBlock
- Export
- missionPillarsBlock
- React component
- <MissionPillars />
- Path
- components/puck/mission-pillars-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
An editorial statement section: a short label on the left, the mission in large type on the right, an optional vision line set off by a rule, then numbered pillars. Wrapping one phrase in asterisks colors it. Pillars run two, three or four across on desktop depending on how many there are. It suits About pages.
- The top of an About or Who we are page
- A strategic plan page introducing its priorities
- A board or annual report page restating mission and values
Writing the content
- Keep the Heading to a short label, such as Our mission; the Mission statement itself is the large text.
- Wrap a single phrase of the Mission statement in *asterisks* to color it. More than one accent dilutes the effect.
- Vision and Pillars label hide when blank. Pillars are optional (zero to six) and are numbered automatically in the order listed.
- Two, three or four pillars fill the desktop row evenly; five or six use three columns, so five leaves a gap.
Accessibility
- The heading level is an editor setting, and pillar titles sit one level below it. The mission statement is a paragraph, not a heading.
- Pillars are an ordered list, and the 01, 02 numbers are hidden from screen readers to avoid reading the order twice.
- The asterisk accent only changes color and adds no emphasis for screen readers, so do not rely on it to carry meaning.
Customizing the code
- The accent phrase, rule and pillar numbers use Tailwind indigo, including text-indigo-700 in the accent helper.
- The label and statement split 3/9 via lg:col-span-3 and lg:col-span-9.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Headingtext
- Heading levelselect
- Mission statementtextarea
- Vision labeltext
- Visiontextarea
- Pillars labeltext
- Pillarsarray