Layout

Footer

The bottom area of a page layout, for copyright, secondary links and the like. It takes the footer area of the grid that tk:main builds, so it sits under the main content and next to the sidebar when there is one.

Acme
Page content
© 2026 Acme
Blade

A <footer> under the main content, with padding and a light gray background (dark gray in dark mode).

Centered content #

The background still spans the whole width, while the content is held in a centered column, as tk:container with that size. container alone (true) uses the container's default width.

Blade

Always in view #

The footer sticks to the bottom of the viewport while the page scrolls, over the content, with a top border and a shadow. inverse gives it a dark background (light in dark mode).

Scroll down: the footer stays at the bottom of the box while this text moves under it.

Scroll down: the footer stays at the bottom of the box while this text moves under it.

Scroll down: the footer stays at the bottom of the box while this text moves under it.

Scroll down: the footer stays at the bottom of the box while this text moves under it.

Scroll down: the footer stays at the bottom of the box while this text moves under it.

Scroll down: the footer stays at the bottom of the box while this text moves under it.

Scroll down: the footer stays at the bottom of the box while this text moves under it.

Scroll down: the footer stays at the bottom of the box while this text moves under it.

Blade

Variants #

variant sets the background: subtle, strong, inverse, accent, ghost, or a color name for a tinted one.

© 2026 Acme · subtle
© 2026 Acme · strong
© 2026 Acme · inverse
© 2026 Acme · accent
© 2026 Acme · ghost
© 2026 Acme · green
Blade

Customization #

Classes go to the <footer>; with container, the container: prefix reaches the centered column, which also holds the padding.

© 2026 Acme. All rights reserved.
Blade

Reference

Prop Type Default Description
sticky bool false Keeps the footer at the bottom of the viewport while the page scrolls.
container bool | string false Holds the content in a centered column: true for the default width, or a size (xs, sm, md, lg, xl, 2xl, 3xl, full).
variant string light gray The background: subtle (white), strong, inverse, accent, ghost (transparent), none (no classes), or a color name for a tinted one (blue, green...).

Slots

Slot Description
default The footer content.

Prefixes

Prefix Goes to
container: The centered column, when container is set.

Customization

Classes and attributes on the tag go to the <footer>. With container, the content is inside a container <div>, reached with a prefix (listed in the Reference above).

blade

The padding (p-6, lg:p-8) is on the <footer> itself, or on the container when container is set.

Accessibility

A native <footer>; placed at the top level of the page, outside <main> and <article>, browsers expose it as the contentinfo landmark.

Behavior notes

  • The footer takes its place from the grid set up by tk:main on their common parent. Outside that layout it is a plain block.
  • With a tk:aside, the aside runs down beside the footer on large screens; below lg the footer comes after the aside.