SiteFooter
El pie de un sitio: la marca y su frase, columnas de enlaces y la última línea.
import { SiteFooter } from '@sypnia/ui/react'
En esta página
Tres columnas
Código
import { SiteFooter } from '@sypnia/ui/react';
export default function Footer() {
return (
<SiteFooter tagline="Every bug leaves a light on."
columns={[
{ title: 'Products', links: [{ label: 'Telemetry', href: '#' }, { label: 'Data', href: '#' }, { label: 'Mail', href: '#' }] },
{ title: 'Learn', links: [{ label: 'Docs', href: '#' }, { label: 'Releases', href: '#' }, { label: 'Status', href: '#' }] },
{ title: 'Company', links: [{ label: 'Contact', href: '#' }, { label: 'Privacy', href: '#' }] },
]}
base={<><span>© 2026 Sypnia</span><span>Open source under the MIT license</span></>} />
);
} Cuándo usarlo
Úsalo cuando
- El final de cada página pública.
No lo uses cuando
- Repetir todo el mapa del sitio: con tres o cuatro columnas basta.
Para todos
- Cada columna es una navegación con el nombre de su título.
Props
| SiteFooter | Tipo | Por defecto |
|---|---|---|
columnsobligatorioColumns of links, each with a title. | { title: string; links: SiteLink[]; }[] | |
baseThe last line: rights, the company, the year. | ReactNode | |
product | string | |
taglineOne sentence in the voice under the logo. | ReactNode |