# Footer: brand plus four link columns

> Wordmark and tagline beside four link columns with micro-label titles, and a bottom bar with copyright and legal links.

- Kind: block · Category: Footer · Interactivity: none
- Install: `npx shadcn@latest add @haze/footer-columns`
- File: `src/components/haze/blocks/footer-columns.astro`
- npm dependencies: none
- Registry dependencies: @haze/logo-mark
- Docs page: https://hazeui.com/blocks/footer-columns

## Use when
- A marketing site with twelve or more secondary pages
- You need legal links and a copyright line

## Avoid when
- A small site with five links or fewer; a single-row footer is lighter

## Props

| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| brand | `string` | "Driftwork" | no | Wordmark text. |
| logoShape | `"circle" \| "square" \| "triangle" \| "diamond" \| "haze"` | "diamond" | no | Glyph shape passed to LogoMark. |
| tagline | `string` | demo tagline | no | One line under the wordmark. |
| columns | `{ title: string; links: { label: string; href: string }[] }[]` | 4 demo columns | no | Link groups; each becomes a labelled nav. |
| legal | `{ label: string; href: string }[]` | Privacy, Terms, Security | no | Links in the bottom bar. |
| copyright | `string` | "© 2026 Driftwork, Inc." | no | Copyright line. |

## Accessibility
- Uses the <footer> landmark; each column is a <nav> labelled by its title, so screen-reader users can jump between groups.
- Link rows have at least 24 px hit targets.

## Agent prompts

### Install and use

Install the Haze UI block "Footer: brand plus four link columns" with `npx shadcn@latest add @haze/footer-columns`. If components.json has no "@haze" registry yet, add "registries": { "@haze": "https://hazeui.com/r/{name}.json" }. If src/styles/haze.css does not exist yet, run `npx shadcn@latest add @haze/theme` once and import it from the global stylesheet after Tailwind. The CLI stops at an overwrite question when a Haze file already exists and differs, even with --yes, and then installs nothing after it: read its output. If the user has not edited their Haze files, re-run with --overwrite to take the registry versions; if they have, ask them before overwriting. Then import FooterColumns from "@/components/haze/blocks/footer-columns.astro" (or the relative path) and render it where it fits the page. Keep Haze token classes (bg-background, text-muted-foreground, border-border...) and never hardcode colors. Docs: https://hazeui.com/blocks/footer-columns.md

### Customize with real content

Adapt the Haze footer-columns block for our product. Replace the demo values of these props with our real content: brand, logoShape, tagline, columns, legal, copyright. Keep the layout, the heading level rules and these accessibility details: Uses the <footer> landmark; each column is a <nav> labelled by its title, so screen-reader users can jump between groups. Link rows have at least 24 px hit targets. Do not add raw color classes; use the Haze tokens.

### Choose the right block

Before using footer-columns, check it fits: use it when a marketing site with twelve or more secondary pages; you need legal links and a copyright line. Avoid it when a small site with five links or fewer; a single-row footer is lighter.

## Example requests that should lead here
- Add a footer with the logo and four columns of links plus privacy and terms
- Big sitemap footer for a SaaS marketing site

## Source

```astro
---
import LogoMark from "../ui/logo-mark.astro";

interface Props {
  brand?: string;
  logoShape?: "circle" | "square" | "triangle" | "diamond" | "haze";
  tagline?: string;
  columns?: { title: string; links: { label: string; href: string }[] }[];
  legal?: { label: string; href: string }[];
  copyright?: string;
}

const {
  brand = "Driftwork",
  logoShape = "diamond",
  tagline = "The fast, focused workspace for product teams.",
  columns = [
    { title: "Product", links: [{ label: "Features", href: "#features" }, { label: "Integrations", href: "#integrations" }, { label: "Pricing", href: "#pricing" }, { label: "Changelog", href: "#changelog" }] },
    { title: "Company", links: [{ label: "About", href: "#about" }, { label: "Customers", href: "#customers" }, { label: "Careers", href: "#careers" }, { label: "Blog", href: "#blog" }] },
    { title: "Resources", links: [{ label: "Docs", href: "#docs" }, { label: "Guides", href: "#guides" }, { label: "Status", href: "#status" }, { label: "Support", href: "#support" }] },
    { title: "Developers", links: [{ label: "API", href: "#api" }, { label: "SDKs", href: "#sdks" }, { label: "Webhooks", href: "#webhooks" }] },
  ],
  legal = [
    { label: "Privacy", href: "#privacy" },
    { label: "Terms", href: "#terms" },
    { label: "Security", href: "#security" },
  ],
  copyright = "© 2026 Driftwork, Inc.",
} = Astro.props;
---

<footer class="border-t border-border bg-muted/40 px-6 pt-16 pb-10">
  <div class="mx-auto max-w-6xl">
    <div class="grid gap-10 lg:grid-cols-[2fr_repeat(4,1fr)]">
      <div class="max-w-xs">
        <LogoMark name={brand} shape={logoShape} class="text-foreground" />
        <p class="mt-4 text-sm/6 text-muted-foreground">{tagline}</p>
      </div>
      <div class="grid grid-cols-2 gap-8 sm:grid-cols-4 lg:col-span-4">
        {
          columns.map((column) => (
            <nav aria-label={column.title}>
              <h2 class="text-[0.6875rem]/4 font-medium tracking-wider text-muted-foreground uppercase">{column.title}</h2>
              <ul class="mt-3 flex flex-col">
                {column.links.map((link) => (
                  <li>
                    <a href={link.href} class="inline-block min-w-6 rounded-sm py-1 text-sm/6 text-muted-foreground transition-colors duration-150 hover:text-foreground focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-ring">
                      {link.label}
                    </a>
                  </li>
                ))}
              </ul>
            </nav>
          ))
        }
      </div>
    </div>
    <div class="mt-14 flex flex-col gap-4 border-t border-border pt-8 sm:flex-row sm:items-center sm:justify-between">
      <p class="text-[0.8125rem]/5 text-muted-foreground">{copyright}</p>
      <ul class="flex flex-wrap gap-x-6">
        {
          legal.map((link) => (
            <li>
              <a href={link.href} class="inline-block rounded-sm py-1 text-[0.8125rem]/5 text-muted-foreground transition-colors duration-150 hover:text-foreground focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-ring">
                {link.label}
              </a>
            </li>
          ))
        }
      </ul>
    </div>
  </div>
</footer>
```
