Skip to main content
Copy for LLM

Footer

A landing page footer with brand, column links, and legal sections.

Basic Usage

Simple footer

Built with WireKit.

With Columns

The links of a column stand gap="sm" apart. They are tap targets stacked in a column, and at xs their centers sit 23.4px apart, under the 24px that the spacing exception of WCAG 2.5.8 asks of a target this small.

Footer with link columns
Footer with legal links

Help in the same place on every page

A footer comes back on every page, so it is a natural home for help: contact details, a link to your help center or your support form. Help that your pages repeat has to stand in the same place on each of them (WCAG 3.2.6), and a footer every page shares gives it that place. Keep the help links in the same column, in the same order, rather than in the content of some pages and the footer of others.

Inside a Main Region

Inside a main region, the footer keeps more space above its top border than below it, so that line reads as the footer's own rather than as the edge of whatever stands above it. A margin or padding at the top that you set on the footer replaces that space, at any width: on a short page, mt-auto keeps the footer at the bottom of a main region laid out as a flex column. Give that region max="none": with its cap, the region holds its children in a wrapper of their own, and the footer is not one of the column's items.

The main region insets and caps its column already, so the footer inside it takes no padding at its sides, no background and no narrower width of its own: its content spans the column, its text lines up with the content above, and no surface ends short of the screen's edges. Padding at the sides, a background color or a max that you set on the footer replaces that, as px-6, bg-[var(--color-wk-bg-elevated)] or max="lg" does. In a <x-wirekit::main padding="none">, give the footer the padding that the content beside it carries.

Entrance Animation

Wire a viewport-triggered reveal directly on the footer without an extra wrapper:

<x-wirekit::footer animateIn="fade">
    <x-slot:brand>© 2026 Built with WireKit.</x-slot:brand>
</x-wirekit::footer>

The animateIn prop accepts any of the 11 base presets. Equivalent to wrapping in <x-wirekit::reveal> but skips the wrapper element. Respects prefers-reduced-motion: reduce. The default duration is normal (300ms) — fast enough to feel snappy in a real page-load context.

In a preview the default 300ms is over before the eye finds it, so the demo below wraps the footer in <x-wirekit::reveal> with preset="slide-up" and an animation-duration of 1200ms. The replay icon at the top right of the preview runs it again:

Footer that slides up into place

© 2026 Built with WireKit.

Props

Prop Type Default Description
animateIn string|null null Entrance-reveal preset (e.g. 'fade', 'slide-up'). Wires reveal semantics inline.
max sm | md | lg | xl | 2xl | full xl Inner-content max-width tier. Reads --size-wk-container-* tokens. Controls the column-grid, brand+legal row, and default slot wrapper widths — they all share the same value. Set to match your page's container width so the footer aligns on the same content-edge spine. Inside a main region the footer spans the region's column unless you set it.
scope string|null null Scoped personalization name

The same footer at three max tiers — the chrome (background, border) always stays edge-to-edge while the inner content tracks the named tier:

Footer max — sm / xl / full
Acme · max=sm
Privacy Terms
Acme · max=xl (default)
Privacy Terms
Acme · max=full
Privacy Terms

Slots

Slot Description
columns Grid of link columns
brand Brand/copyright text
legal Legal links (privacy, terms)
default Additional footer content

Keyboard Interaction

This component is a layout wrapper. Keyboard interaction is delegated to its children.

Design Tokens

Token Used for
--color-wk-bg-elevated Footer background
--color-wk-border Top border
--color-wk-text-muted Text color
--space-wk-section-sm Vertical padding
--padding-wk-x-lg Inline padding
--font-wk-sans / --text-wk-sm Font and text size
--space-wk-xl Gap between the link columns, and below them
--color-wk-border-subtle / --space-wk-lg The rule above the brand and legal row, and the space around it
--space-wk-md Gap between the brand and the legal links
--gap-wk-md / --text-wk-xs Gap between the legal links, and their size
--size-wk-container-sm … --size-wk-container-2xl The width of the content per max

Updated in WireKit v2.74.0 (2026-11-24)

Was this page helpful?

Thank you for your feedback!

Voting requires cookies or local storage. What we store