Skip to content

Block 99 of 297

Footer — Minimal

One line: copyright, a few links, an optional note and a back-to-top link, in light or dark.

Puck key
FooterMinimalBlock
Export
footerMinimalBlock
React component
<FooterMinimal />
Path
components/puck/footer-minimal-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-line footer with a copyright notice, a few dot-separated links, an optional note and a back-to-top link, in a light or dark tone. On phones the items stack into a short column. Use it where the page itself does the work and the footer should stay out of the way.

  • Campaign landing pages and event microsites
  • Web apps, portals and sign-up flows
  • Grant-funded program pages that need a funding credit
Writing the content
  • Keep Links to three or four essentials such as Accessibility, Privacy and Contact; the field stops at 5.
  • Use the Note for a short credit line, like a funder acknowledgment. On wide screens it sits to the right.
  • Pick the Tone that contrasts with the section above it so the footer reads as a separate band.
  • If every field is blank, the block renders nothing.
Accessibility
  • Links sit in a nav named from Navigation name. The dot separators are hidden from screen readers so they aren't read aloud.
  • Focus outlines switch between indigo on light and white on dark, so focus stays visible in either tone (WCAG 2.4.7).
  • The back-to-top link points at #top and keeps a 44px minimum height. Its arrow nudge is turned off under motion-reduce.
Customizing the code
  • Both tones are defined in the tones map at the top of the file; add a third entry to support a brand color.
  • The layout switches from stacked to a single row at the md breakpoint.

Editor fields

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

  • Copyright linetext
  • Navigation nametext
  • Linksarray
  • Notetext
  • Back-to-top texttext
  • Toneradio