Skip to content
Focsd homeFocsd homeFocsd
Forms

Footer

The bottom of a site: brand, grouped links and a legal row.

  • Tag: focsd-footer
  • Pattern: Contentinfo landmark + link sections
  • Category: Navigation

Example

HTML
<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>

API

Slots

SlotDescription
brandLogo, product name or a short description.
(default)focsd-footer-section elements.
legalCopyright notice and policy links.

CSS parts

Style the inside of the component with ::part(), for example focsd-footer::part(footer).

PartDescription
footerThe footer element.
brandThe brand container.
sectionsThe container of link sections.
legalThe legal row.

Accessibility

  • A <footer role="contentinfo"> landmark: use one per page, at the top level.
  • Each focsd-footer-section is a navigation landmark named by its heading (level 2 by default; set level to fit your outline), so screen-reader users can jump between link groups.
  • Sections wrap into a responsive grid; links keep a 24px minimum target.