Skip to main content

Navigation

Navigation is the menu a user clicks to move through your app. Each entry points at a page, and the order is yours.

Where an entry sits​

sectionWhere it renders
mainThe primary menu list.
footerBelow the main list, for documentation and settings-ish links.
settingsThe settings area.

order sorts entries within a section. Lower numbers come first.

What an entry declares​

FieldWhat it does
idThe entry's name.
labelWhat the user reads.
iconThe glyph beside the label.
routeThe page it opens.
queryQuery parameters to apply on open.
hrefAn external URL, instead of a route.
permissionWho sees it.
countA badge, for example an unread total.
pinnedKeep it visible.
tourIdStart a walkthrough from this entry.

Grouping​

children nests entries under a parent, and open controls whether that group starts expanded. A group can carry a route of its own, so the parent is clickable rather than a dead label.

type: 'caption' makes an entry a heading rather than a link. Use it to label a run of related entries.

Showing an entry only sometimes​

visibleIf gates an entry on a condition, so a menu can reflect state rather than listing everything always. dynamicSource builds entries from data, which is how a menu lists records that did not exist when you designed it.

Next: the screens these entries open. See Pages.