Etch component

Footer 2

Centered site footer over an optional background image: the logo, the links in wrapping rows with a line between each two, the copyright and a "Built with ♥ by" credit. The links are a slot with sample content to replace.

Footer 2

Copy Footer 2

Configurator settings

Change a setting in the configurator to include it.

Optional. Copies the component under its own name, such as News Card Alpha for a site.

Documentation

A centered site footer over an optional background image: the logo, the site's links in wrapping rows with a line between each two, the copyright and a "Built with ♥ by" credit.

How to use it

  • The entry's Copy JSON brings sample content in its two slots, to replace: links (list items with a link each, li > a) and subfooter (a MAC Subfooter 1 with the copyright). A slot left empty shows nothing.
  • Pick an Image for the background; without one it shows a filler image. The logo is MAC Logo 1's logomark, set once for the site in that component, drawn in the text color.
  • Subfooter 1's Copyright reads "© 2026 • Site Name" in the pasted footer, with the current year and the site's name. Write in a first year when the site needs one, such as "© 2007 – 2026".
  • Credit Name and Credit URL fill "Built with ♥ by Circea", linked to circea.co. An empty name hides the line.

Good to know

  • The lines between the links are the items' start borders, so every row after the first starts with one, as in the footer it comes from.
  • The footer centers Subfooter 1 above the credit, without its line and padding.
  • --mac-footer-2-logo-size sets the logo's height (6rem), --mac-footer-2-links-width the links' rows (at most --width-50), --mac-footer-2-overlay the overlay (a dark neutral at 80%) and --mac-footer-2-heart-color the heart (--danger).
  • The background image is decorative (alt="") and keeps square corners. Screen readers hear "Built with love by" for the heart.
  • See also MAC Footer 1, with link columns and contact details, and MAC Footer 3, a logo and name lockup with menu, contact and social columns.

Reference

Read from the component's JSON, so it's always current.

Loading the reference