# Footer, columns

- **[Sections](/blocks/)**
- **[Footer](/blocks/footer/)**
- **Footer, columns**

Up to six link columns, with a brand column or a full-width SVG wordmark below, an optional newsletter form, an optional contact block (address, hours), social links…

## Import

- **CLI**

  ```
  npx shadcn add @klarhimmel/footer-columns
  ```
- **Import**

  ```
  import Block from '@/components/klarhimmel/blocks/footer-columns';
  ```

Also called

- footer/link-columns

- **About**: Up to six link columns, with a brand column or a full-width SVG wordmark below, an optional newsletter form, an optional contact block (address, hours), social links, badges and one button, an optional family row of sister sites and a…
- **Category**: The end of every page: links, legal, an optional sign-up. New project? Set it up once: /get-started/installation.

## Notes

- **When to use it**: A full site footer with brand and tagline beside up to four columns of links, an optional newsletter form and a legal row. Use `footer-simple` for a small site, or `footer-cta` when the footer should also carry a final ask.
- **Writing for it**: - Each column has a title of up to 40 characters and up to eight links. Use brandLayout: 'wordmark' for full-width columns followed by one SVG logo row above the legal divider; this removes the brand/tagline column.
- The newsletter block is optional. If you include it, the placeholder and submit text are required and the note under it holds 160 characters.
- Legal links take up to six items beside the legal text. Privacy and Terms usually go there, and some sites add social links as the default does.
- **Watch out for**: Column titles render as h2 elements, which add to the page outline in every page that uses this footer. The grid sets its width from the number of columns, so with only one or two columns the links bunch up on the left.

## Pairs well with

- **[Call to action, band](/blocks/cta/banner)**
- **[Newsletter, card](/blocks/newsletter/card)**
- **[FAQ, with a support card](/blocks/faq/support)**

## Usage

The block in a page, with its default content (long lists shortened). Every prop is in the table below.

section.tsx

```
import { Theme } from '@/components/klarhimmel/theme/style';
import { BlockSurface } from '@/components/klarhimmel/blocks/surface';
import FooterColumns from '@/components/klarhimmel/blocks/footer-columns';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <FooterColumns props={{
          "brand": "Brand name",
          "tagline": "Say what you do in one line.",
          "columns": [
            {
              "title": "First group",
              "links": [
                {
                  "label": "First page",
                  "href": "#features"
                },
                {
                  "label": "Second page",
                  "href": "#pricing"
                }
              ]
            },
            {
              "title": "Second group",
              "links": [
                {
                  "label": "First page",
                  "href": "#about"
                },
                {
                  "label": "Second page",
                  "href": "#careers"
                }
              ]
            }
          ],
          "legal": "© 0000 Company name. All rights reserved.",
          "newsletter": {
            "title": "Say why to subscribe",
            "placeholder": "Your email",
            "submit": "Subscribe",
            "note": "Say how often you write and that they can leave."
          },
          "legalLinks": [
            {
              "label": "Privacy",
              "href": "#privacy"
            },
            {
              "label": "Terms",
              "href": "#terms"
            }
          ]
        }} />
      </BlockSurface>
    </Theme>
  );
}
```

## Props

The type, default and text limit of every prop. On a real page, over-limit text is kept and checkSections flags it (Installation, Check a page before you ship); this live preview shows the default until it fits. The panel above edits all props.

- **brand**: Text, up to 40 characters.
- **brandLayout**: One of 'column', 'wordmark', 'links'. Optional; empty is not rendered.
- **mark**: Fields: paths (optional), viewBox (optional), src (optional). Optional; empty is not rendered.
- **logo**: Optional; empty is not rendered.
- **tagline**: Text, up to 400 characters.
- **columns**: List of up to 6. Each item: title (optional), links.
- **legal**: Text, up to 120 characters.
- **current**: Text, up to 300 characters. Optional; empty is not rendered.
- **contact**: Fields: title (optional), lines (optional). Optional; empty is not rendered.
- **social**: List of up to 8. Each item: label, href, icon ('zap' | 'shield' | 'layers' | 'globe' | 'sparkles' | 'clock' | 'code' | 'palette' | 'lock' | 'chart' | 'users' | 'mail' | 'heart' | 'rocket' | 'search' | 'settings' | 'check' | 'star' | 'book' | 'box' | 'cloud' | 'compass' | 'leaf' | 'gauge') (optional). Optional; empty is not rendered.
- **badges**: List of up to 6. Each item: media, href (optional). Optional; empty is not rendered.
- **action**: Optional; empty is not rendered.
- **newsletter**: Fields: title (optional), placeholder, submit, note, action (optional), method ('post' | 'get') (optional), hidden (optional), captcha (optional), captchaSitekey (optional). Optional; empty is not rendered.
- **legalLinks**: List of up to 6. Optional; empty is not rendered.
- **family**: Fields: label (optional), links (optional). Optional; empty is not rendered.

[Previous](/blocks/footer/centered)

[Next](/blocks/footer/cta)
