NavigationFooter
Searchastronomic.dev# Footer At the bottom of every page, for secondary links, contact details and social links. Static: no JavaScript. ## Usage ```astro import Footer from "@astronomic-dev/ui/components/Footer.astro"; ``` ## Examples ### Slots The footer is a shell: brand and meta, the body (the default slot), then bottom, always in that order. It sets the band and the padding; the body's layout is yours. FooterColumns, FooterSimple and FooterCentered are recipes built on it. ```astro --- import Footer from "@astronomic-dev/ui/components/Footer.astro"; --- <Footer> <a slot="brand" href="#" class="text-inherit no-underline">Halden Studio</a> <p slot="meta" class="m-0">14 Boston Street, Baltimore, MD 21224</p> <nav aria-label="Halden Studio footer"> <ul role="list" class="m-0 flex list-none flex-wrap gap-x-6 gap-y-2 p-0"> <li><a href="#work" class="text-on-band-muted no-underline hover:text-on-band">Work</a></li> <li><a href="#journal" class="text-on-band-muted no-underline hover:text-on-band">Journal</a></li> <li><a href="#contact" class="text-on-band-muted no-underline hover:text-on-band">Contact</a></li> </ul> </nav> <p slot="bottom" class="m-0 border-t-ui border-solid border-on-band-border px-6 py-3 text-on-band-muted">© 2026 Halden Studio</p> </Footer> ``` ## Props ### Footer | Prop | Type | Default | Description | | --- | --- | --- | --- | | `tone` | `"band" \| "inverse"` | `"band"` | band: on the page, or on the band when a preset sets --ui-band. inverse: on the inverse surface (dark on a light page, light on a dark page), with its own text colors, rules and focus ring. Recipes that draw their own links on it name the inverse colors. | | `class` | `string` | None | More classes, merged with cn(), so yours win on conflicts. | | `contentClass` | `string` | None | Classes for the inner row that holds the brand, meta and body, for example a max width that matches the page container. Recipes set its layout here too. | | Slot | Description | | --- | --- | | `brand` | The logo or site name, first, in display type. | | `meta` | Short text under the brand, such as an address or a line about the business. | | `default` | The footer's body, after the brand and meta, in the same padded row: links, a form, anything. | | `bottom` | A last full-width row under the padded row, such as the copyright line. It brings its own padding. | Any other attribute goes on the <footer>. ## Accessibility - Renders a <footer>. As the page's last landmark, outside main and article, it is the contentinfo landmark. - Put links in a <nav> with an aria-label, so they are a named landmark of their own; the recipes do this for you. - On the band the focus ring takes the band's text color, so it shows when the band is the accent.
Footer
FreeAt the bottom of every page, for secondary links, contact details and social links.
- File
- Footer.astro
- Group
- Navigation
- Kind
- Static: no JavaScript
- Examples
- 1
Examples
Drag the orange handle to set the width. Frames get real breakpoints.
- Static
- Interactive
- Framed
Slots
The footer is a shell: brand and meta, the body (the default slot), then bottom, always in that order. It sets the band and the padding; the body's layout is yours. FooterColumns, FooterSimple and FooterCentered are recipes built on it.
Minimal · Light