Skip to content
New

Footer, columns

beta

The 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

Terminal
npx rasengan-ui add footer-columns

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):

app/_routes/index.page.tsx
import { FooterColumns } from "@/components/blocks/footer-columns";
import { home } from "@/content/home";
 
export default function Home() {
  return <FooterColumns content={home.footer} />;
}
content/home.ts
import { example, type FooterColumnsContent } from "@/components/blocks/footer-columns";
 
export const home = {
  footer: {
    ...example,
    legal: "© 2026 Your company",
  } satisfies FooterColumnsContent,
};

Column titles are headings at headingLevel, styled small.

Content

FieldTypeLimitsGuidance
brandobject
brand.namestring1–32 chars
brand.hrefstringUsually '/'.
brand.taglineoptionalstring≤ 120 charsWhat the product is, in one line.
columnsobject[]1–4 itemsGrouped links: Product, Company, Resources, Legal.
columns[].titlestring1–24 chars
columns[].linksobject[]1–8 items
columns[].links[].labelstring1–32 chars
columns[].links[].hrefstringA path or a full URL.
legalstring1–120 charsThe copyright line: '© 2026 Senbon Ltd.'
socialoptionalobject[]≤ 6 itemsProfiles, by name: 'Instagram', 'LinkedIn'.
social[].labelstring1–32 chars
social[].hrefstringA path or a full URL.

Props

PropNotes
contentFooterColumnsContent; the example when left out
idthe footer's id, for anchor links; "footer" by default
headingLevel1, 2 or 3: the heading's tag; 2 by default
classNameon 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.