shadcn.io is not affiliated with official shadcn/ui
Legal Strip Footer Block for React
A 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.
Installation
Overview
A legal footer for React with Base UI, for a site where the law matters more than navigation. A strip of five links (Terms, Privacy, Cookies, Accessibility, Imprint) runs rail to rail as cells on shared hairlines inside a nav labelled Footer; each cell is one link that tints on hover and focus. Under it a band, ruled by Guides, holds the small wordmark and the legal entity line in a small: the company's name, where it is registered, its company number, its registered office and its VAT number. The entity details are invented; replace them with your own. The page ends on the band, so it draws no closing rule. On a phone the strip is two cells across with the last cell full width. It uses plain links and your theme's tokens, with no JavaScript of its own.
FAQ
How do I change the legal links?
Edit the LEGAL array: each entry is a label and an href. The strip is built for five on desktop; for another count change sm:grid-cols-5 to match, and on phones an odd last link spans both columns by itself.
What goes in the entity line?
The details your jurisdiction asks for on a business site: the registered company name, where it is registered, the company number, the registered office and any tax number. The ones in the block are invented. Wrap numbers in bdi, as the block does, so they read correctly in a right-to-left page.
Does this cover what the law requires?
No. It is the layout for the information, not legal advice: what must appear, and where, depends on the country and the kind of business, so check with whoever advises you.
How do screen readers move through it?
The block is a footer, the page's content-info landmark when placed outside main. The five links are a list in a nav named Footer, and the entity line is a small of plain text that is read in order. Every cell is a link with the theme's focus ring drawn inside the cell.
Related
- Pro
Rights by Region Footer
Trust and complianceA footer for an HR platform whose segmented control (EU and UK, United States, Elsewhere) swaps the four privacy-rights links that apply there, with the legal documents in a row under it.
- 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
Tinted Strip Legal Footer
Slim and minimalA legal-only footer for a code-review tool: one row on a full-width tinted strip, the copyright at the start and three legal links at the end.
- 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
Accessibility Statement Footer
Trust and complianceA footer for a lesson reader with a conformance statement at the start (a drawn seal, the standard, the level and the review cadence, and a report-a-barrier link) and three link columns at the end.
- Pro
Trust Centre Tiles Footer
Trust and complianceA footer for a payments checkout whose three tiles (Security, Privacy, Compliance) share hairlines, each with an icon, a quiet Current status, one line and three links.