Footer, columns
betaThe product's name and tagline, up to four columns of links, the copyright line and social profiles.
npx rasengan-ui add footer-columns
- Use it
- At the bottom of every marketing page.
- Avoid it
- A single-page site with three links: a one-line footer reads better.
- Built with
- Separator
Installation
It installs into components/blocks/footer-columns/, with what it uses (Separator) and lib/blocks.ts.
Usage
Without content, the block shows its example. Pass your own, typed by the block's schema, from a content file (here, the example with one field changed):
Column titles are headings at headingLevel, styled small.
Content
| Field | Type | Limits | Guidance |
|---|---|---|---|
brand | object | ||
brand.name | string | 1–32 chars | |
brand.href | string | Usually '/'. | |
brand.taglineoptional | string | ≤ 120 chars | What the product is, in one line. |
columns | object[] | 1–4 items | Grouped links: Product, Company, Resources, Legal. |
columns[].title | string | 1–24 chars | |
columns[].links | object[] | 1–8 items | |
columns[].links[].label | string | 1–32 chars | |
columns[].links[].href | string | A path or a full URL. | |
legal | string | 1–120 chars | The copyright line: '© 2026 Senbon Ltd.' |
socialoptional | object[] | ≤ 6 items | Profiles, by name: 'Instagram', 'LinkedIn'. |
social[].label | string | 1–32 chars | |
social[].href | string | A path or a full URL. |
Props
| Prop | Notes |
|---|---|
content | FooterColumnsContent; the example when left out |
id | the footer's id, for anchor links; "footer" by default |
headingLevel | 1, 2 or 3: the heading's tag; 2 by default |
className | on the root element, for spacing |
Accessibility
- A
<footer>: the page's contentinfo landmark when it sits outside<main>. - Each column is a
<nav>named by its title.