Material Next
On this page

Overview

A shared copyright bar, taken from the Profile website. It follows the host's Material color tokens and wraps on narrow screens. Its default text is Copyright © 2020–2026, Mihai-Cristian Condrea, with the last year following the current year. Set owner, start-year and end-year to change it.

code mail
A copyright bar with accessible social controls.
<script type="module">
  import 'material-next-web-components/site-footer.js';
</script>
<mnw-site-footer start-year="2020">
  <a href="https://github.com/MihaiCristianCondrea">GitHub</a>
</mnw-site-footer>

Supply links or Material icon buttons through the default slot. Give icon-only controls an accessible name. With an app shell, put the element in slot="footer"; the shell keeps it outside the main content landmark and makes it inert while its modal drawer covers the page.

API

A rounded copyright bar with optional social links.

<mnw-site-footer> properties
PropertyAttributeTypeDefaultDescription
ownerownerstring'Mihai-Cristian Condrea'Copyright holder.
startYearstart-yearnumber2020First copyright year.
endYearend-yearLast copyright year. Defaults to the current year.
linksLabellinks-labelstring'Social profiles'Accessible label for the links.
<mnw-site-footer> slots
SlotDescription
DefaultLinks or Material icon buttons, each with an accessible name.
<mnw-site-footer> CSS custom properties
Custom propertyDescription
--mnw-site-footer-max-widthWidest the bar gets, centered. Default 900px.
--mnw-site-footer-container-colorThe bar's color. Default --md-sys-color-surface-container.
<mnw-site-footer> CSS parts
PartDescription
surfaceThe footer bar.
mail