shadcn.io is not affiliated with official shadcn/ui
Centered Plumb Line Footer Block for React
A centred footer in three tiers: a hairline hanging from the top rule to a round wordmark mark, a row of six links, and the copyright line.
Installation
Overview
A centred footer for React with Base UI, for a shop or a studio with a short list of pages. A hairline hangs from the spine's top rule down to the round wordmark mark, like a plumb line. Under it come three tiers on one centre axis: the name and one line about the business, a nav labelled Footer with six links in a wrapping row, and the copyright line. There are no bands: the top rule, the rails and the hanging line are the only lines. It ends the page, so it keeps its bottom padding and draws no closing rule. On a phone the links wrap into centred rows. It is built from plain links and your theme's tokens, with no JavaScript of its own.
FAQ
How do I change the links?
Edit the LINKS array: each entry is a label and an href, and the row wraps by itself, so five to eight links work. Each link is a plain anchor with href="#": point it at the page or swap in your router's link.
What is the line from the top rule?
A short vertical hairline, hidden from assistive technology, that starts at the spine's top rule and ends at the wordmark mark, so the footer reads as hung from the page's line. Remove the span above the wordmark if you want the mark to start lower; the footer keeps working without it.
How do screen readers move through it?
The block is a footer element, so placed outside main it is the page's content-info landmark. The links sit in a nav named Footer as a list. The wordmark is a link home; its coffee glyph is decorative and hidden.
Related
- Pro
One Row Footer
Slim and minimalThe smallest footer: one row on the spine with a wordmark and a copyright line at the start and four inline links with a drawn underline at the end.
- Pro
Social Icons Footer
Slim and minimalA two-row footer: a wordmark and tagline beside five social icon buttons with tooltips, and a ruled band with the copyright and the policy links.
- Pro
Legal Strip Footer
Slim and minimalA legal-only footer: a strip of five legal links as cells on shared hairlines, and a band with the wordmark and the legal entity line.
- Pro
Giant Wordmark Footer
Brand-ledA wordmark-led footer for an outerwear label: a short mission statement, one row of links, a legal band, and the brand name set at giant size, cut off at the foot and faded out by a mask.
- Pro
Stacked Bands Footer
Slim and minimalA footer in three ruled bands: the wordmark, a sentence and the shop's pages; five social links with their names; and the legal row.
- Pro
Promise Chips Footer
Trust and complianceA footer for a privacy-first analytics tool with a wrapping row of four check-marked chips (EU data residency, No ad trackers, Open API, Export anytime) and two link columns.