Skip to content

SiteFooter

The public pages’ footer: wordmark and note, link columns, and a legal line.

LayoutServer-rendered

Examples

Columns and legal line

Example
<SiteFooter
  note="One MCP URL for every server and skill your agents use."
  columns={[{ title: 'Product', links: [{ label: 'Docs', href: docsHref }] }]}
  legal="Switchboard 0.1.0"
/>

Usage

Usage
import { SiteFooter } from '@switchboard/ui'

<SiteFooter note={note} columns={columns} legal={legal} />

Props

Every component also takes mix, for css() and mixins applied after its own style.

SiteFooter

SiteFooter props
PropTypeDefaultDescription
noteRemixNode–One or two sentences under the wordmark.
columns{ title: string; links: { label; href }[] }[]–Each column is a <nav> named by its title.
legalRemixNode–Bottom line under a hairline.
homeHrefstring'/'Where the wordmark links.
backdropbooleanfalseA faint jack field behind the column (auth and OAuth pages).

Also accepts every <footer> attribute.

Accessibility

  • Renders <footer> (contentinfo); each column is a labelled <nav> with an h2.

Guidance

Do

  • Group links by what people look for.

Don’t

  • Repeat the header’s auth buttons.