Playground

Footer block

A site footer with brand, link columns and small print.

  • Built on native elements
  • A footer element: the page contentinfo landmark. Use one per page.
  • Each link column is a nav named by its title, with a heading at the chosen level.
  • Styles in one file: container.css

Import

import '@monoline/css';
import {BlockFooter} from '@monoline/react';

Not installed yet? Pick a route.

Copies the source and its styles into your project.

npx monoline add block-footer

Usage

import {BlockFooter} from '@monoline/react';

<BlockFooter
  brand="Your brand"
  description="Short line about what you make."
  columns={[
    {title: 'Product', links: [{label: 'Components', href: '#'}, {label: 'Blocks', href: '#'}, {label: 'Changelog', href: '#'}]},
    {title: 'Resources', links: [{label: 'Docs', href: '#'}, {label: 'Source', href: '#'}]},
    {title: 'Company', links: [{label: 'About', href: '#'}, {label: 'Contact', href: '#'}]},
  ]}
  legal="© 2026 Your brand. All rights reserved."
/>

Examples

Three columns

Props

BlockFooterProps

PropTypeDefaultDescription
brandReactNode–Your logo or name.
descriptionReactNode–Optional short sentence about the product, shown under the brand.
columns requiredFooterColumn[]–Groups of links; each column has a `title` and a list of `links` and becomes its own labelled `nav`.
renderLinkRenderLink–Renders each link, so a client router can handle the click. Default a plain `<a href>`.
legalReactNode–Small print: copyright, legal links.
headingLevel2 | 3 | 4 | 5 | 62Outline level of the column titles.

Data Attributes

State is exposed through attributes. Style it with these selectors, not with class toggles.

This component sets no state attributes.

CSS classes

ClassStylesheet
.containercontainer.css
.container-fullcontainer.css
.container-pagecontainer.css
.container-textcontainer.css
.linklink.css
.block-footerblock-footer.css
.block-footer-brandblock-footer.css
.block-footer-colblock-footer.css
.block-footer-columnsblock-footer.css
.block-footer-headingblock-footer.css
.block-footer-legalblock-footer.css
.block-footer-nameblock-footer.css
.block-footer-topblock-footer.css

Customization

Style it with the kit's tokens in your own CSS, loaded after @monoline/css. Prefer the attributes above over extra classes. See Theming for every token.

app.css
.container {
  border-color: var(--accent);
}

Accessibility

  • A footer element: the page contentinfo landmark. Use one per page.
  • Each link column is a nav named by its title, with a heading at the chosen level.