Skip to content

Site footer

A website footer with link columns and newsletter, a minimal layout, and a large fading Silicon mark.

npx shadcn@latest add @silicon-ui/site-footer

Installation

With the shadcn CLI

npx shadcn@latest add @silicon-ui/site-footer

Manually

  1. Install the dependencies

    npm install lucide-react motion
  2. Copy these files into your project

    • components/silicon-ui/blocks/site-footer/site-footer.tsx
    • components/silicon-ui/blocks/site-footer/site-footer.module.css

    Shared with other components. Skip any you already have.

    • components/silicon-ui/segmented-control/segmented-control.tsx
    • components/silicon-ui/segmented-control/segmented-control.module.css
    • components/silicon-ui/button/button.tsx
    • components/silicon-ui/button/button.module.css
    • components/silicon-ui/lib/fluid-hover.tsx
  3. Add the foundation, once per app, for the design and motion tokens

    npx shadcn@latest add @silicon-ui/silicon-foundation

Usage

usage.tsx
import { SiteFooter } from "@/components/silicon-ui/blocks/site-footer/site-footer";

API reference

SiteFooter

PropTypeDefault
variant

`columns` pairs a newsletter with link columns, `minimal` is one quiet row, `logo` ends in a large fading Silicon mark.

SiteFooterVariant

"columns""minimal""logo"

"columns"
brand{ name: string; href?: string; mark?: ReactNode }{ name: "Silicon" }
tagline

One short line under the brand.

string"Interface components that move with intent."
columnsSiteFooterColumn[]siteFooterExampleColumns
links

Links for the minimal variant. Defaults to the first link of each column.

SiteFooterLink[]—
legal

Small links beside the copyright, such as Privacy and Terms.

SiteFooterLink[]exampleLegal
socialsSiteFooterLink[]exampleSocials
newsletter

Newsletter signup. Pass null to hide it.

SiteFooterNewsletter | null{ title: "Get the monthly release notes", description: "One email a month. Unsubscribe anytime." }
status

A system status link. Pass null to hide it.

{ label: string; tone?: "success" | "warning" | "danger"; href?: string } | null{ label: "All systems normal", tone: "success" }
year

Year in the copyright line.

numbernew Date().getFullYear()
onNavigate

Called for every link that is pressed. Links without an href render as buttons and only call this.

(link: SiteFooterLink) => void—
classNamestring—

Also accepts the props of HTMLAttributes.

SiteFooterBlock

PropTypeDefault
variantSiteFooterVariant

"columns""minimal""logo"

"columns"

Dependencies

npm
lucide-reactmotion
Registry
silicon-motion-tokensbuttonsegmented-control