Page Footer
Stopka witryny: Twoja marka, kolumny linków z tytułami w nazwanej nawigacji oraz dolny wiersz z informacją o prawach autorskich i własną treścią, w elemencie footer.
Angular: dostępny Vue: dostępny React: dostępny React Native: jeszcze niedostępny
Użycie
<sone-page-footer
ariaLabel="Demo footer"
copyright="© 2026 Acme Notes"
[columns]="columns"
>
<div sonePageFooterBrand style="display: grid; gap: var(--space-1)">
<strong style="color: var(--text-primary)">Acme Notes</strong>
<span>Every meeting, written down.</span>
</div>
<a
sonePageFooterRight
soneBtn
variant="ghost"
size="icon"
href="#newsletter"
aria-label="Newsletter"
>
<sone-icon icon="mail" />
</a>
</sone-page-footer>Import
import {
SonePageFooterBrandDirective,
SonePageFooterComponent,
SonePageFooterLeftDirective,
SonePageFooterRightDirective,
} from "@surface-one/angular/page-footer";Dokumentacja API
SonePageFooterBrandDirectiveDyrektywa
`[sonePageFooterBrand]` — the logo and a line about the site, before the columns.
SonePageFooterComponentKomponent
`<sone-page-footer>` — the footer of a site (Nuxt UI Footer and FooterColumns): your brand (`[sonePageFooterBrand]`), titled `columns` of links in a named `nav` (column titles are headings, `level` 3 by default), then a bottom row with the `copyright` line and `[sonePageFooterLeft]` / `[sonePageFooterRight]` content (social links, a theme switch). It renders a `<footer>`, the page's content info when it sits outside `main`. The columns sit beside the brand once the footer is wide enough.
| Nazwa | Typ | Domyślnie |
|---|---|---|
columns | readonly PageFooterColumn[] | [] |
copyrightThe copyright line of the bottom row: `© 2026 MonoOne`. | string | null | null |
ariaLabelNames the columns' navigation landmark. | — | $localize`:A site footer's link columns:Footer` |
levelThe column titles' heading level, 1–6. | HeadingLevel | 3 |
SonePageFooterLeftDirectiveDyrektywa
`[sonePageFooterLeft]` — the start of the bottom row, after the copyright.
SonePageFooterRightDirectiveDyrektywa
`[sonePageFooterRight]` — the end of the bottom row: social links, a theme switch.