GitHub

footer

Accessible site footer with logo slot, navigation links, and legal text. Handles responsive stacking, hover states, and focus styles automatically.

footer({
  logo:     'MyApp',
  logoHref: '/',
  links: [
    { label: 'Docs',    href: '/docs'    },
    { label: 'Pricing', href: '/pricing' },
    { label: 'GitHub',  href: 'https://github.com' },
  ],
  legal: '© 2026 MyApp Ltd.',
})
PropTypeDefault
logostring (HTML)Raw HTML slot — SVG, img, or text
logoHrefstring'/'Logo link destination
linksarray[][{label, href}] — footer navigation links
legalstringCopyright / legal text