Skip to content

Block 95 of 297

Footer — Newsletter

Dark footer that leads with a large newsletter sign-up posting to your list provider, beside grouped link columns and a legal row.

Puck key
FooterNewsletterBlock
Export
footerNewsletterBlock
React component
<FooterNewsletter />
Path
components/puck/footer-newsletter-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 dark footer that puts a newsletter signup first: a large heading, a short pitch and an email field with a button, beside up to three link columns. A copyright and legal row runs along the bottom. On phones everything stacks, with the signup on top and the columns below it.

  • Advocacy groups whose newsletter is the main way they keep supporters
  • Watershed, conservation or policy nonprofits with a regular update
  • Any site where email signups matter more than deep footer navigation
Writing the content
  • Write the Newsletter heading around what people receive and how often, such as a weekly update on a set day.
  • The form appears only when Form action URL is filled. Copy it and Email field name from your list provider's embed code.
  • Note under the form is read with the email field by screen readers; use it for the unsubscribe promise.
  • Link columns allows up to 3, each with 1 to 8 links. The legal row takes up to 5 links.
Accessibility
  • The email field has a real label (visually hidden) from Email field label, and the note is attached with aria-describedby.
  • Link columns sit inside a nav named from Navigation name, and each list is labelled by its Column label through aria-labelledby.
  • White focus outlines stay visible against the near-black background (WCAG 2.4.7). The heading level follows the Heading level field.
Customizing the code
  • The background is bg-neutral-950 with neutral-400 links; recheck contrast if you change it.
  • The signup takes lg:col-span-6 xl:col-span-5 next to the columns; adjust those to give the form more or less room.

Editor fields

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

  • Newsletter headingtextarea
  • Heading levelselect
  • Newsletter texttextarea
  • Form action URLtext
  • Email field nametext
  • Email field labeltext
  • Button texttext
  • Note under the formtext
  • Navigation nametext
  • Link columnsarray
  • Organization nametext
  • Copyright yeartext
  • Legal linksarray