NavigationFooterColumns
Searchastronomic.dev# FooterColumns
For a site with many pages: the brand and contact details beside columns of links under headings.
Static: no JavaScript.
## Usage
```astro
import FooterColumns from "@astronomic-dev/ui/components/FooterColumns.astro";
```
## Examples
### Columns and social links
```astro
---
import FooterColumns from "@astronomic-dev/ui/components/FooterColumns.astro";
const columns = [
{ heading: "Studio", links: [{ label: "Work", href: "#work" }, { label: "Services", href: "#services" }, { label: "About", href: "#about" }] },
{ heading: "Read", links: [{ label: "Journal", href: "#journal" }, { label: "Careers", href: "#careers" }] },
];
const socials = [
{ label: "Instagram", href: "https://instagram.com", target: "_blank" },
{ label: "LinkedIn", href: "https://linkedin.com", target: "_blank" },
];
---
<FooterColumns columns={columns} socials={socials} label="Halden Studio footer">
<a slot="brand" href="#" class="text-inherit no-underline">Halden Studio</a>
<Fragment slot="meta">
<p class="m-0">14 Boston Street, Baltimore, MD 21224</p>
<p class="m-0">© 2026 Halden Studio</p>
</Fragment>
</FooterColumns>
```
## Props
### FooterColumns
| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `columns` | `FooterColumn[]` | None | Required. The link columns. FooterColumn is { heading, links: NavLink[] }; NavLink is { label, href, current?, target?, index? }. |
| `socials` | `NavLink[]` | `[]` | Social links, shown as the last column. |
| `socialsHeading` | `string` | `"Follow"` | Heading of the socials column. |
| `label` | `string` | `"Footer"` | Accessible name of the footer navigation. |
| `headingTag` | `"h2" \| "h3" \| "p"` | `"h2"` | The element for column headings. |
| `class` | `string` | None | More classes, merged with cn(), so yours win on conflicts. |
| `contentClass` | `string` | None | Classes for the inner grid, for example a max width that matches the page container. |
| Slot | Description |
| --- | --- |
| `brand` | The logo or site name, above the meta text. |
| `meta` | Short text under the brand, such as an address or a line about the business. |
| `bottom` | A last row under the columns, such as the copyright line. |
Any other attribute goes on the <footer>.
## Accessibility
- Renders a <footer>; its link columns sit in one <nav> named by label (default "Footer").
- Column headings are h2 by default; set headingTag to h3 or p to fit the page's heading order.
- A link with current set gets aria-current="page".
FooterColumns
FreeFor a site with many pages: the brand and contact details beside columns of links under headings.
- File
- FooterColumns.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
Columns and social links
Minimal · Light