Compact legal footer in React
A single strip with copyright, legal pages, cookie settings and back to top.
Here is an excerpt of this component's code in React. The full code is free for members, ready to copy into your project.
This component also comes in
The code in React
export function CompactLegalFooter() {
return (
<div className="flex min-h-screen flex-col justify-end">
<footer
id="pied"
className="flex flex-wrap items-center justify-between gap-x-6 gap-y-3 border-t border-zinc-300 bg-zinc-100 px-5 py-4 text-sm text-zinc-700 dark:border-zinc-700 dark:bg-zinc-900 dark:text-zinc-300"
>
<p>© 2026 Cabinet Duval & Associés</p>
<nav aria-label="Informations légales">
<ul className="flex flex-wrap gap-x-4 gap-y-1">
<li>
<aFree component: copy it freely, including for commercial projects.
Other footers components in React
Footers components in React
A complete footer (introduction, contact details, sitemap, legal links) where the Made with Forge link is a standalone paragraph: keep it or delete it, the layout stays the same.
- Tailwind
- React
- CSS
- WordPress

A footer for building tradespeople: contact details and a call button, service area with the towns covered, opening hours, then the details a French professional must display (SIRET, VAT number, registration, ten-year liability insurance with insurer and coverage, consumer mediator) and the legal links.
- Tailwind
- React
- CSS
- WordPress

A dark footer with brand, social links and a four-column sitemap that turns into collapsible sections on mobile.
- Tailwind
- React
- CSS
- WordPress

Cards linking to each social network with the reason to follow, for clubs and associations.
- Tailwind
- React
- CSS
- WordPress

A highlighted invitation to subscribe, followed by the essential links.
- Tailwind
- React
- CSS
- WordPress

Logo, one line of links and the copyright, centered and airy.
- Tailwind
- React
- CSS
- WordPress