Skip to content
Cynosurev0.5.0
SearchStorybookGitHubnpmColour mode: System. Switch to Light

Components / More

SiteFooter

The bottom of a website: the brand and a tagline, columns of links under headings, and a bottom row for the copyright, legal links and social links. It stacks on narrow screens.

Landmarks headings and links

When to useLink to "When to use"

  • The end of every page of a marketing or documentation site, after main.

Use something else when:

  • you need the bottom of a dialog or a card: their own actions
  • the page is an app inside AppShell, which usually has no footer

UsageLink to "Usage"

tsx
Copy
import { IconButton, Link, SiteFooter } from "@arshad-shah/cynosure";
import { mail } from "@arshad-shah/cynosure/icons";

<SiteFooter
  brand="Acme"
  tagline="Tools for small teams."
  columns={[{ title: "Product", links: [{ label: "Pricing", href: "/pricing" }] }]}
  legal={<>Copyright 2026 Acme. <Link href="/privacy">Privacy</Link></>}
  social={<IconButton icon={mail} label="Email" href="mailto:hello@acme.dev" variant="ghost" tone="neutral" />}
/>

Narrow screensLink to "Narrow screens"

Columns wrap onto more rows, and the legal text and social links stack.

Narrow stacks

PropsLink to "Props"

Every prop of SiteFooter
PropWhat it doesTypeDefault
brand
The logo or the site's name, at the top of the inline start.ReactNode
tagline
A sentence under the brand about the site or the company.ReactNode
columns
Link columns, as data: a heading and its links. They sit side by side and wrap onto more rows when narrow.SiteFooterColumn[]
headingLevel
Heading level of the column titles, to fit the page outline. Default 2.2 | 3 | 42
legal
The bottom row's start: copyright and legal links.ReactNode
social
The bottom row's end: links to the site's social accounts, usually IconButtons with href.ReactNode
size
Widest the content gets: the size of its Container, to line up with the page. Default "lg"."sm" | "md" | "lg" | "full" | "xl""lg"
labels
Replace the built-in English text: nav, the name of the links' navigation landmark.Partial<SiteFooterLabels>
id
Set on the footer element.string
aria-label
Names the footer, when a page has more than one.string
className
Added to the footer element, for layout.string
style
Layout only. Restyle through --cy-site-footer-* tokens.CSSProperties

Generated from the type definitions in @arshad-shah/cynosure 0.5.0.

Behaviour and accessibilityLink to "Behaviour and accessibility"

Behaviour and accessibility, table 1
InputResult
TabEvery column link in order, then the legal links and the social links
  • Landmarks: the footer is the contentinfo landmark at the top level of the page. All columns sit in one nav named "Footer" (labels.nav).
  • Headings: each column title is a Heading at headingLevel (default 2) and names the column's list.
  • Links: neutral Links; external adds a new-tab icon and "(opens in new tab)" for screen readers.
  • Naming: aria-label and id are set on the footer, for a page with more than one.

TouchLink to "Touch"

Each link row is at least 24px tall, and 44px on coarse pointers, with a hit area of the same size, so neighbouring links never share a finger's target. Social IconButtons keep their own 44px hit areas.

ThemingLink to "Theming"

Theming, table 2
TokenWhat it setsDefault
--cy-site-footer-backgroundBackground--cy-color-surface
--cy-site-footer-borderHairline above the footer and above its bottom row--cy-color-line
--cy-site-footer-padding-blockSpace above and below the content and between its rows--cy-space-10
--cy-site-footer-column-min-widthLeast width of a column before the columns wrap10rem
ts
Copy
createTheme({ components: { siteFooter: { background: "transparent", columnMinWidth: "12rem" } } });

SiteHeader · Section · Container · Link · IconButton

These examples run Cynosure 0.5.0 (commit 50ce30b), the version on npm.

Getting started
Theming
Icons
Accessibility
Code editors and highlighters
Using Cynosure without React
Build-tool adapters
Components
Accordion
AppShell
AspectRatio
Breadcrumbs
Calendar
Card
Container
Disclosure
Divider
DocumentViewport
Grid
Inline
PageHeader
PanZoomCanvas
ScrollArea
SideNav
SortableList
SplitPane
Stack
StatusBar
Tabs
TitleBar
Toolbar
Tree
VirtualList
ZoomControls
Announcer
Avatar
Badge
CodeBlock
DescriptionList
EmptyState
ErrorBoundary
Field
Heading
IconTile
Image
Kbd
List
LoadingDots
Notice
ProgressBar
Prose
Skeleton
Stat
Steps
Table
Text
Button
Checkbox
Checklist
ColorField
ColorSwatches
Combobox
CompareSlider
CopyButton
DateField
FileDrop
IconButton
KeyValueEditor
Link
NumberField
Pagination
PathField
RadioGroup
SearchField
SegmentedControl
Select
SelectionFrame
SignaturePad
Slider
Switch
TagInput
TextArea
TextField
ThemeToggle
TimeField
ButtonBase
ChoiceBase
DialogBase
FileInputBase
HiddenValue
Icon
InputBase
LinkBase
LiveRegion
TextAreaBase
ChatMessage
Choice
DataGrid
DeviceFrame
HighlightedText
HotkeyField
ListRow
OptionList
OverlayFrame
QRCode
RowActions
Section
SiteFooter
SiteHeader
SkipLink
SortButton
VisuallyHidden
CommandPalette
ContextMenu
Dialog
FloatingToolbar
HoverCard
Menu
Menubar
Popover
ProgressOverlay
Sheet
Toast
Tooltip
Changelog