GitHub

Site Footer

Website footer component

Basic Usage

Loading...

Installation

pnpm add @corew500/ui

Usage

import { SiteFooter } from "@corew500/ui/site-footer"

<SiteFooter>Content</SiteFooter>

Variants

siteFooterVariants

AxisValuesDefault
variant
defaultmutedprimarygradient
default

API Reference

Props

PropTypeDefaultDescription
logoenumLogo element or component
taglinestringTagline or description text
columnsFooterColumn[][]Link columns
socialLinksSocialLink[][]Social media links
copyrightenumCopyright text or element
legalLinksFooterLink[][]Legal/policy links
linkComponentenumaLink component to use for navigation (defaults to anchor)
variantenumdefault

Accessibility

Keyboard Navigation

  • Links are keyboard accessible

Screen Readers

  • Social icons have aria-label with platform name
  • Icons use aria-hidden="true" as they're decorative

Additional

  • - Uses semantic <footer> element
  • Proper heading hierarchy (h3 for column titles)

Localization

Translatable Content

  • - All text content flows through props
  • Column titles, link labels, tagline, copyright should be pre-translated
  • Social link labels can be customized for translation

Related