Footer
The end of every page: your name, the copyright and the links people look for at the bottom.
Preview
Add it to your project
-
Sign in once on this machine
izzy loginThe account is free. Create a free account
-
Add the block
izzy add block footerWrites Components/Blocks/SiteFooter.razor. Put it in your layout, or place it with --at.
Settings
Each setting is a flag on izzy add. The flag syntax isn't final; for now it looks like this:
izzy add block footer --show-brand false| Name | Type or choices | Default | Description |
|---|---|---|---|
Layout | Simple | Columns | Simple | Simple is one line; Columns adds groups of links under headings. |
ShowBrand | true | false | true | Shows the app's name and icon at the start. |
Holder | text | {{ProjectName}}, Inc. | Who holds the copyright. Empty uses the project's name. |
Name | text | SiteFooter | The component's name. |
Into | text | Empty | The layout to add it to, after the page's body (its ErrorGuard). Empty adds it nowhere: put it in your layout. |
Mode support
| Feature | Static | Interactive |
|---|---|---|
| Everything | Yes | Yes |
Static: static server-side rendering, with no circuit and no WebAssembly. Interactive: Server, WebAssembly or Auto.
Accessibility
- The links are in a navigation landmark named "Footer", so screen readers can find them and tell them from the main menu.
- In the layout after the page's main content, the footer reads last. Placed inside an AppFooter, it's the page's contentinfo landmark.
Components used
- Section: Renders a full-width band of a page, such as a hero.
- Container: Centers content at a readable width.
- Stack: Lays out its children in a row or a column, changing with the screen width.
- Row: Lines up buttons, badges or fields side by side, with a gap between them.
AppBrand- TextBlock: Sets paragraphs, captions and labels in the library's text styles.
- Spacer: Pushes the rest of a row to the end.
- Anchor: Renders a text link, internal or external.