Skip to content

Block 08 of 297

Typographic Hero

Image-free oversized statement with one asterisk-marked phrase in the accent color and a ruled row of facts.

Puck key
HeroTypographicBlock
Export
heroTypographicBlock
React component
<HeroTypographic />
Path
components/puck/hero-typographic-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 image-free opener built on one oversized statement, with a phrase you choose set in an italic serif accent. A short lede and a single underlined link sit to the right on desktop, and a ruled row of up to four facts closes the section. Use it when the organization's position is the message and photography would distract.

  • A mission statement opening an About or home page
  • Conservation, policy or advocacy groups with a clear stance
  • A campaign or annual theme announcement
Writing the content
  • Keep the Statement under about twelve words. Wrap one phrase in *asterisks* to highlight it; more than one highlight weakens the effect.
  • The statement reaches 8xl on desktop, so test long words on a phone, where they break rather than overflow.
  • Use the Facts row for two to four plain facts like founding year or service area; it hides when empty.
  • Leave Link text blank if the page continues directly below.
Accessibility
  • The highlighted phrase renders as an em element, so it carries emphasis in the markup, not only through color (WCAG 1.4.1).
  • Facts are a description list with each label as dt and value as dd.
  • The link keeps a visible underline plus a focus outline, and the Heading level field sets the tag without changing the look.
Customizing the code
  • The highlight style is in renderHighlighted: font-serif italic text-indigo-600.
  • Statement size runs text-5xl, sm:text-7xl, lg:text-8xl on the heading; scale those down for longer copy.

Editor fields

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

  • Kickertext
  • Statementtextarea
  • Heading levelselect
  • Ledetextarea
  • Link texttext
  • Linktext
  • Facts rowarray