Site Footer
A page footer: brand, description, groups of links as named navigation landmarks, and a bottom line.
Example
site-footer-demo.tsxCopy code
Installation
Copy code
Usage
ImportCopy code
The page footer: brand, description, link groups and a bottom line. Links accept every Link prop, onFollow included.
API reference
SiteFooter
| Prop | Type | Default |
|---|---|---|
brandThe logo and name, usually a Link to the home page. | ReactNode | – |
description | ReactNode | – |
groups | readonly SiteFooterGroup[] | noGroups |
bottomThe line under the separator: a copyright, a licence, a note. | ReactNode | – |
childrenAnything else beside the groups, like a newsletter form. | ReactNode | – |
Also takes <footer> attributes except children.
Other exports
type SiteFooterGrouptype SiteFooterLinktype SiteFooterPropsAccessibility
- Each group is a navigation landmark named by its title; links are muted and underline on hover.
Agent actions
Runs agent.snapshot() from @ui-sdk/react/agent on the live preview above.