Footer renders <footer class="talos-footer"> with a GlassPanel holding
three columns: text links on the left, the BrandMark in the middle and
contact rows on the right, over a hairline copyright line. It is opt-in
marketing chrome: it needs talos-marketing.css (not in all.css) plus
talos.css for the panel.
Default
PREVIEW
---
import "@j_shelfwood/talos-ui/talos-marketing.css";
import Footer from "@j_shelfwood/talos-ui/astro/Footer.astro";
---
<Footer
links={[{ label: "Docs", href: "/docs/" }, { label: "Changelog", href: "/changelog" }]}
contact={{ email: "hello@example.com", location: "Utrecht, NL" }}
calendarUrl="https://cal.com/you"
copyright="Example B.V."
>
<Icon slot="icon-email" name="lucide:mail" />
</Footer>
Slots
| Slot | Content |
|---|---|
links | replaces the whole links column, for links with icons (Astro slot names are static, so there is no slot per link) |
brand | replaces the BrandMark in the middle column |
icon-email, icon-phone, icon-location, icon-calendar | an icon after the matching contact row |
Props
| Prop | Type | Default | Meaning |
|---|---|---|---|
links | FooterNavLink[] | [] | left column links, { label, href }; the same shape as Navbar’s links |
nav | FooterNavLink[] | none | deprecated alias of links |
contact | FooterContact | {} | { email?, phone?, location? }; each set field renders a row |
calendarUrl | string | none | target of the “Book a consultation” row; omit to hide the row |
contactHeading | string | "Get in touch" | heading above the contact column |
copyright | string | none | entity name after the year in the copyright line |
tagline | string | "All systems nominal" | text after the copyright separator |
homeHref | string | "/" | where the brand links to |
...rest | HTMLAttributes<"footer"> | none | forwarded to the <footer> |
FooterNavLink is { key?, label?, title?, href }; title is a deprecated
fallback for label.