SiteFooter
SiteFooterClosing chapter A site-wide footer with content, legal and social slots, plus a built-in home for consent settings.
Site navigation & servicesA complete footer
The explicit teleport target keeps this footer inside the example.
All ten semantic tones
All supported values are visible together on the actual component, in an isolated document.
Samples follow this guide’s theme. Service appearance comparisons do not register account, search, or consent services.
All eighteen visual variants
All supported values are visible together on the actual component, in an isolated document.
Samples follow this guide’s theme. Service appearance comparisons do not register account, search, or consent services.
Each footer slot
Copyright only Legal destinations Social destinations Content slot A unique teleport target keeps each footer in its own preview. The real footer also hosts the consent settings control.
Feature map
| Feature | Where to explore it |
|---|---|
| Content, legal, and social slots with an explicit teleport target | Context preview, feature comparisons, and original copyable source examples. |
| Public appearance options | Complete galleries above. Only options supported by this component are shown. |
| Native semantics and integration | Behavior notes and API contracts below explain the component’s roots, slots, and runtime dependencies. |
This component exposes tone and variant, but no variantMode.
Behavior and accessibility
The default teleport destination is body, so ordinary usage moves the footer out of the local content tree. Supply a target selector for inline placement. Its bottom row adapts from stacked content to a horizontal layout.
API reference
SiteFooter contract
Props below are the public template API. RefOrValue accepts a literal or a reactive ref; bind refs with a colon-prefixed attribute. Native attributes and events can be passed through the component root.
Composition
Default slot: main footer content. legal: legal or policy links. social: additional links. The legal row includes the consent-settings teleport target. Register defineFooterComponents and defineFlexComponents.