React Footer with a Pixel Art Wordmark and Newsletter Form

Pro

A documentation style footer with a retro signature: newsletter signup and brand on the left, four columns of developer links on the right, a policy strip, and then your product name drawn in square pixels across the full width, only outlined until you hover and the cells fill with light.

A bitmap signature for developer products

Footer with Pixel Grid Wordmark is a React and Tailwind CSS footer that renders any word in a built in pixel art font as a full width SVG, and pairs it with a newsletter form and grouped links. It is aimed at developer tools, docs sites and open source projects, and runs in Next.js or any React app.

Pixel lettering signals craft and a little nostalgia, which suits products built for engineers. Because the letters are generated from a 5 by 8 grid rather than a font file, there is nothing to download and the word scales cleanly to any width, staying crisp at every size.

The interaction is restrained. At rest you see only the silhouette of the letters at 10 percent opacity. Hover and every cell fades in with a vertical gradient whose angle follows the pointer through a spring, so the light appears to lean towards the cursor.

Built from three layers

Pixel font engine

A companion file, pixel-font.ts, holds glyphs for a to z, A to Z and 0 to 9. Each glyph is a grid of filled and empty cells; the layout function places them with a one cell gap and a three cell space.

Outline and fill

The SVG draws one outline path around every filled cell for the resting state, plus a group of squares that fade to full opacity on hover with a gradient fill.

Spring lit gradient

The gradient's x1 coordinate tracks the pointer through a Framer Motion spring with stiffness 200 and damping 30, updated directly on the SVG element without re-rendering React.

Newsletter column

A title, a one line description, an email field and a glass Subscribe button whose arrow swaps on hover.

Developer link grid

Home, Product, Developers and Company by default, two across on phones and four from 640px, with h3 column labels.

Who it suits

Use it when

  • Developer tools, CLIs, docs sites and open source projects where a pixel signature fits the voice.
  • Your product name uses plain letters and digits, which the font covers in both cases.
  • You want both a newsletter and a full sitemap in the same footer.
  • A neutral grey palette in light and dark is what your site already uses.

Skip it when

  • Your name contains punctuation, accents or symbols, which render as blank gaps.
  • The brand is formal, editorial or luxury, where pixel art reads as playful.
  • You need the newsletter to work without code; the form must be connected first.
  • Very long names, since the word always fills the width and long strings make each pixel tiny.

Set the word, wire the form

Change the wordmark prop and the SVG relays itself out; there is nothing else to adjust. Keep the companion pixel-font.ts file next to the component, because the block imports its glyph table and layout helpers from it. To add a character the font lacks, add a glyph entry: eight strings of X and dot, five columns wide.

The newsletter form inside this footer only stores the address in local state and shows a thank you line. Replace the handleSubmit body in NewsletterForm with a request to your provider, add an aria-label to the input, and adjust the placeholder string, which is written into the form rather than exposed as a prop.

npx wensity@latest add footer-with-pixel-grid-wordmark --type block
page.tsx
import { DocsLabFooter } from "@/components/wensity/blocks/footer-with-pixel-grid-wordmark";
export function DocsFooter() {
return (
<DocsLabFooter
brandName="Patchwork"
wordmark="patchwork"
tagline="Typed config for multi service repos."
newsletterTitle="Release notes"
newsletterDescription="One email per minor release. Nothing else."
socials={[]}
columns={[
{ heading: "Docs", links: [{ label: "Install", href: "/docs/install" }, { label: "CLI", href: "/docs/cli" }] },
{ heading: "Project", links: [{ label: "GitHub", href: "https://github.com/your-org/patchwork", external: true }] },
]}
/>
);
}

Props

PropTypeDefaultDescription
wordmarkstring"DocsLab"The word drawn in pixels. Letters and digits only; anything else becomes an empty gap.
newsletterTitlestring"Stay in the loop"Bold line above the form.
newsletterDescriptionstring-One sentence on what subscribers get. Be specific about frequency.
columnsDocsLabFooterColumn[]Home, Product, Developers, CompanyLink groups. external: true opens a link such as a status page in a new tab.
socialsDocsLabFooterSocial[]X, GitHub, Discord, LinkedIn with # linksIcons in the bottom strip. The defaults point nowhere, so pass real profiles or an empty array.
bottomLinksDocsLabFooterLink[]-Policy links separated by small dots.

Performance and accessibility

No re-render on hover

The pointer drives a motion value, and the gradient attribute is set directly on the SVG element. React only re-renders once when hovering starts and once when it ends.

Accessible name

The SVG carries an aria-label with the wordmark text, so screen readers announce the word instead of hundreds of rectangles.

Cell count

A nine letter word draws a few hundred small rectangles. That is trivial for the browser, but a twenty character string doubles it and shrinks each cell, so keep the wordmark short.

Motion only on hover

Nothing moves on its own, which keeps the footer calm for reduced motion users even without an explicit check. Touch devices see the outline state.

Form wiring

Like any interface only form, it needs a request, a loading state and an error message before it collects real addresses.

Block details

Footer With Pixel Grid Wordmark
Category
Footers
Renders
JavaScript animation. Paints first, then animates
Theme
Follows the site theme in light and dark
Dependencies
clsxframer-motiontailwind-merge
Source
521 lines, 22 KB in one file
Install
wensity add footer-with-pixel-grid-wordmark --type block
Tags
dark, enterprise, newsletter, wordmark, interactive, multi-column
Last updated

Go further with developer pages