Footer

Page footer with links

Marketing BlockNavigation

Overview

A flexible compound footer. When Footer.Brand is present among children, the layout switches to a two-column grid (brand left, content right). Without Footer.Brand, all children stack vertically.

Usage

import { Footer } from '@leanicon/web-builder-library'

Brand with logo, column groups for navigation, social links, a highlight CTA, and legal section.

Simple (no brand)

Without Footer.Brand, content stacks vertically.

Minimal

Social links and legal only — no columns or brand.

With highlight CTA

Footer.Highlight renders a freeform area — useful for a CTA card, newsletter signup, or any custom content.

Dark mode

Simple — dark mode

Minimal — dark mode

Sub-components

Sub-component

Props

Description

Footer.Brand

logo, children

Logo + optional tagline / legal section

Footer.Column

title, links

Navigation column with heading

Footer.ColumnGroup

children

Grid wrapper for columns (4-up by default)

Footer.Social

title?, links

Stacked social platform links

Footer.Legal

copyright, links?

Copyright text + optional legal links

Footer.Highlight

children

Freeform highlight area (CTA, newsletter)

Props

Prop

Type

Default

Description

children

React.ReactNode

—

Sub-components (required)

colorScheme

"light" | "dark"

—

Force light or dark mode

className

string

—

Additional CSS classes on root

Notes

  • When Footer.Brand is present, the layout uses a lg:grid-cols-[1fr_3fr] two-column grid.
  • Without Footer.Brand, all children stack vertically with space-y-12.
  • Footer.ColumnGroup defaults to a 4-column grid on md+.
  • All links use # in docs previews to prevent navigation.
  • Dark mode: pass colorScheme="dark" or place inside a .dark ancestor.

Props

NameTypeDefaultRequiredDescription
colorSchemeenum—No
classNamestring—No
logoReactNode—Yes
titlestring—Yes
linksFooterLink[]—Yes
copyrightstring—Yes