SiteFooter
A site-wide footer with content, legal and social slots, plus a built-in home for consent settings.
SiteFooterA complete footer
The explicit teleport target keeps this footer inside the example.
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.