Site footer
The bottom of a marketing or content site: the product name and one line about it, link groups that exist, and a bottom row for the small print and the appearance control.
Usage
Use it when
- Every page of a marketing, landing or documentation site that uses a top nav.
Use something else when
- Inside an app with a sidebar: use App shell. Settings and legal links live in the sidebar footer or the account menu.
- A closing ask: use CTA band.
Where it goes. The last element in <body>, after <main>. Same width and gutter as the marketing sections. The brand takes 2 of 5 columns from 760 px; the link groups wrap at 104 px each, so three fit on a phone.
Examples
<footer class="site-footer" style="width: 100%;">
<div class="site-footer__top">
<div class="site-footer__brand"><span class="site-footer__name">Gradebook</span><p class="site-footer__about">Marking, comments and reports for teachers.</p></div>
<nav class="site-footer__nav" aria-label="Footer">
<div class="site-footer__group"><h2>Product</h2><ul><li><a href="#">Features</a></li><li><a href="#">Pricing</a></li></ul></div>
<div class="site-footer__group"><h2>Help</h2><ul><li><a href="#">Guides</a></li><li><a href="#">Contact</a></li></ul></div>
<div class="site-footer__group"><h2>Legal</h2><ul><li><a href="#">Terms</a></li><li><a href="#">Privacy</a></li></ul></div>
</nav>
</div>
<div class="site-footer__bottom">
<p>© 2026 Gradebook. Example content.</p>
<div class="seg" role="group" aria-label="Appearance" data-lds-segmented style="width: 200px;"><span class="seg__thumb"></span><button class="seg__btn" aria-pressed="true" data-lds-theme="light"><span class="ic ic--sm" aria-hidden="true">light_mode</span> Light</button><button class="seg__btn" aria-pressed="false" data-lds-theme="dark"><span class="ic ic--sm" aria-hidden="true">dark_mode</span> Dark</button></div>
</div>
</footer>Anatomy
| Part | What it is |
|---|---|
footer.site-footer | Required. Hairline on top. |
.site-footer__top | Brand and the link groups. |
.site-footer__brand | .site-footer__name and p.site-footer__about. |
nav.site-footer__nav | A nav with aria-label="Footer". |
.site-footer__group | A small h2 and a ul of links. Only groups the site really has. |
.site-footer__bottom | The small print (copyright, example notice, legal) and the appearance control. |
States
| State | How |
|---|---|
hover | Link text turns strong, only where hover exists. |
Motion and microinteractions
- Color only, over
--d-fast.
Accessibility
- A
footerlandmark with a labellednav; group headings areh2so they appear in the outline. - Links are 44 px tall on touch screens.
Do and don't
Do
- List only pages that exist.
- Put an example notice in the small print on demo pages.
Don't
- Fill four columns because templates have four.
- Repeat the whole top nav and every section anchor.