Footer
The bottom of a site: brand, grouped links and a legal row.
Example
<focsd-footer> <strong slot="brand">Northwind</strong> <p slot="brand">Invoicing for small studios.</p> <focsd-footer-section heading="Product"> <a href="#">Features</a> <a href="#">Pricing</a> </focsd-footer-section> <focsd-footer-section heading="Company"> <a href="#">Our story</a> <a href="#">Careers</a> </focsd-footer-section> <small slot="legal">© 2026 Northwind Ltd</small> <a slot="legal" href="#">Privacy</a></focsd-footer>Usage
Import the module once, then use the tag like any HTML element. Every framework below renders the same element; see Frameworks for setup.
<script type="module"> import '@focsd-dev/components/focsd-footer.js';</script>
<focsd-footer>…</focsd-footer>import { Footer } from '@focsd-dev/react';
export function Example() { return <Footer>…</Footer>;}<script setup>import '@focsd-dev/components/focsd-footer.js';</script>
<template> <focsd-footer>…</focsd-footer></template>// Add CUSTOM_ELEMENTS_SCHEMA to the component's schemas, then:import '@focsd-dev/components/focsd-footer.js';
// template<focsd-footer>…</focsd-footer><script> import '@focsd-dev/components/focsd-footer.js';</script>
<focsd-footer>…</focsd-footer>API
Slots
| Slot | Description |
|---|---|
brand | Logo, product name or a short description. |
(default) | focsd-footer-section elements. |
legal | Copyright notice and policy links. |
CSS parts
Style the inside of the component with ::part(), for example focsd-footer::part(footer).
| Part | Description |
|---|---|
footer | The footer element. |
brand | The brand container. |
sections | The container of link sections. |
legal | The legal row. |
Accessibility
- A
<footer role="contentinfo">landmark: use one per page, at the top level. - Each
focsd-footer-sectionis a navigation landmark named by its heading (level 2 by default; setlevelto fit your outline), so screen-reader users can jump between link groups. - Sections wrap into a responsive grid; links keep a 24px minimum target.
Ask the docs
Hi, what are you building?
Ask about any component, theming, forms or frameworks. I answer with the right component, a snippet and a link to its docs.