Navigation
A menu of links; indented items become a submenu.
When to use it
Menus: the site's sections in the header, links in the footer, the side menu of a guide. It can list a folder's pages by itself or the links you write.
When not to
A list of articles (use list-pages) and actions (use buttons).
Accessibility
A navigation landmark; the current page is marked as current. On small screens the header menu folds behind a button that says whether it is open and works with the keyboard; without its script, the menu stays open.
Related components
See it live
The component library shows this component in the default theme, in every variant: open it in the component library
Where it is used
The starter sites that use it, each at a page that shows it:
- Navalha: on every page
- Field Notes: on every page
- Clear Accounts: on every page
- Folha: on every page
- Rio Vivo: on every page
- Studio Norte: on every page
- Orbit: on every page
- Bistro Verde: on every page
- Barro Studio: on every page
- Ama Studio: on every page
Fields
What the component’s dialog asks for. In a Doc, keyed rows start with the key; rows in order follow the order below. Each row is a key and its value, in any order.
