component :: Footer

The .footer component is the site-wide bottom section: link columns on the right, a meta area (copyright, credits, version…) on the left. Pure HTML and CSS, no JavaScript.

FileDescriptionSource
component.footer.cssAll footer stylesGithub
Footer.astroThe Astro componentGithub
--footer-* block in default themeTheme tokens (see table below)Github

HTML

The footer expects two regions: a nav with one <ul> whose <li> children are the columns (a heading plus a link list each), and a .footer_meta section.

<footer class="footer">
<nav class="footer_nav" aria-label="Footer">
<ul>
<li>
<h5>Documentation</h5>
<ul>
<li><a href="/docs">Getting started</a></li>
<li><a href="/docs/tokens">Tokens</a></li>
</ul>
</li>
<li>
<h5>Connect</h5>
<ul>
<li><a href="https://github.com/…">Github</a></li>
</ul>
</li>
</ul>
</nav>
<section class="footer_meta">
<p>© 2026 Acme Inc.</p>
</section>
</footer>

Custom properties

The following custom properties are available in the default theme:

PropertyDescription
--footer-background-colorBackground color.
--footer-text-colorText color.
--footer-border-widthTop border width.
--footer-border-colorTop border color (transparent in light theme).
--footer-link-colorLink color.
--footer-link-color-hoverLink hover color.

Astro component

PropTypeDefaultDescription
navLabelstring"Footer"aria-label for the footer nav.
classstringundefinedAdditional CSS classes, useful for helper classes.

Any other attribute is passed through to the root <footer> element.

SlotDescription
(default)The link columns: one <ul> with one <li> per column (heading + <ul>).
metaThe meta area: copyright, credits, socials…

Examples