Ask Rift AI
Theme: Smoke
Layout: Contained
Background: Field
Search or ask anythingAsk Rift AI
Theme: Smoke
Layout: Contained
Background: Field
Colour mode: System

Site footer

The bottom of a site

The pair to the site header: the brand and a line about the site, columns of links, and a row of small print with social links at its end. The columns fold from a row to a grid to a single stack as the footer narrows, with no breakpoints of its own.

Default

It has no surface of its own: the page is its floor, and the host sets its width.

Props

Read from the same JSDoc that ships in the package's types. A required prop is marked with an asterisk.

SiteFooter props
PropTypeDefaultDescription
columns
SiteFooterColumn[]
[]
The sitemap columns, in order along the row. Leave it out for a footer of small print alone.
brand
ReactNode
The brand at the start of the footer: a logo, a name, or both.
description
ReactNode
A line about the site under the brand.
social
ReactNode
Social or utility controls for the bottom row's end, such as IconButtons.
legal
ReactNode
The bottom row's small print: a copyright, a licence, a privacy link.
navLabel
string
'Site'
Accessible name of the navigation landmark that holds the columns.
externalLabel
string
'(opens in a new tab)'
Text read after an external link's name, for a screen reader.
linkComponent
LinkComponent
The component its links render with, such as Next.js's `Link`. A plain `<a>` when unset. Server-renderable, so it reads no LinkProvider: pass it here.
className
string
''
Additional CSS classes

Keys

Plain links: the browser owns Tab and Enter. Those keys belong to the platform, so no test of this library presses them.

tsx
// From the npm package
import { SiteFooter } from 'rift-ds/components/SiteFooter/SiteFooter';

// Or as source you own, via the shadcn CLI
npx shadcn@latest add https://rift-ds.com/r/site-footer.json

0.7 kB gzipped, with everything it imports. Peer dependencies are not counted.

For agents: the props, their allowed values and defaults, and the tested keys, as markdown or as a JSON schema.