Footer

The Footer component provides a reusable pattern for footer in the interface.

Footer

Renders a footer in default mode with a logotype and grouped navigation links.

Footer with three columns and subfooter

Renders a slot-only footer with a three-column content area and a horizontal subfooter link list, using lorem ipsum placeholder content.

Footer with slot content

Renders the footer in slot-only mode, where arbitrary content is placed inside the component tags instead of using the built-in links structure.

Footer with subfooter

Renders the footer with a subfooter bar containing a list of contact items, demonstrating the subfooter section with horizontal layout.

Footer with prefooter and postfooter

Renders the footer in slot-only mode with prefooter content placed above and postfooter content placed below the main slot area.

API

Parameter Default Description
footer -
false -
null -
/ -
-
[] -
-
null -
null -
null -
null -

CSS API

Variable Default Type Values Description
var(--base) range - Main unit that drives radius and spacing scales.
var(--space) range - Base spacing unit. Used for padding and margin inside components.
var(--outer-space) range - Spacing between components. Use --space for spacing inside components.
var(--border-width) range - Size
var(--color--surface) color - Controls the footer background, text contrast, border color, and alternate subfooter background.
var(--color--surface-contrast) color - Used for text and icons on surface backgrounds with less contrast.
var(--color--surface-border) color - Manual companion token for borders on surface elements.
var(--color--surface-alt) color - Manual companion token for subtle surface backgrounds.
var(--color--surface-contrast-muted) color - Derived muted contrast for text and icons on surface backgrounds.
var(--color--primary) color - Primary
var(--color--primary-contrast) color - Primary Contrast
var(--color--primary-border) color - Manual companion token for primary border and hover states.
var(--color--primary-alt) color - Manual companion token for subtle primary surfaces.
var(--color--secondary) color - Secondary
var(--color--secondary-contrast) color - Secondary Contrast
var(--color--secondary-border) color - Manual companion token for secondary border and hover states.
var(--color--secondary-alt) color - Manual companion token for subtle secondary surfaces.
var(--color--background) color - Background
var(--color--background-contrast) color - Used for text and icons on background with less contrast.
var(--color--background-border) color - Manual companion token for borders on background surfaces.
var(--color--background-alt) color - Manual companion token for subtle background surfaces.
var(--color--background-contrast-muted) color - Derived muted contrast for text and icons on background surfaces.
var(--font-size-90) range - One step below base in the type scale.
var(--font-size-200) range - One step above base in the type scale. Equivalent to h6/subtitle.
var(--font-size-300) range - Two steps above base in the type scale. Equivalent to h5.
6 range - Scales the main footer logotype height locally without changing the global base size.
6 range - Scales the subfooter logotype height locally without changing the global base size.
1 range - Scales footer outer padding.
1 range - Scales footer gaps.
0 select 0, var(--c-footer--subfooter-border-width-token) Toggles the subfooter top border between no border and the component border width token.
none select none, blur(2px) Toggles backdrop blur behind the subfooter.
3 select 1, 2, 3, 4 How many columns to display in the footer.
flex-start select flex-start, center, flex-end How to align the footer logotype.
left select left, center, right How to align text in the footer columns.
left select left, center, right How to align text in the prefooter.
center select flex-start, center, flex-end, space-between, space-around, space-evenly How to distribute the subfooter logo and links group.
row select row, row-reverse Controls whether the subfooter wrapper displays the logo before or after the links.
1 range - Controls the opacity of the footer background image layer.
100 range - Controls the opacity of the subfooter background layer.
0 range - Rotates the footer background image.
center select left top, center top, right top, center, right bottom, center bottom, left bottom Controls the CSS background-position value.
no-repeat select no-repeat, repeat, repeat-x, repeat-y Controls the CSS background-repeat value.
cover select cover, contain, auto Controls the CSS background-size value.
normal select normal, overlay Controls the CSS background-blend-mode.

Similar components