Navigate within a section
Use sidenav for related pages or subsections in the same area.
The side navigation is used to display a list of links to move between pages within a related category.
Use sidenav for related pages or subsections in the same area.
Side placement keeps local navigation close to the page content.
The active state helps users see where they are in the section.
Leading icon (optional)
Label
Submenu indicator
Sidenav items render as a single link or as a collapsible menu depending on the children passed to the default slot.
Group related links under expandable parent items. Up to three levels are supported.
Set active on a parent menu item to expand it on first load and highlight the current child link.
The parent expands automatically and the matching child is highlighted as the current page.
Disable individual sidenav links to indicate sections that are not yet available to the user.
Standard menu where every link is interactive.
Sticky sidenav stays visible while the user scrolls through related page content.
Sidenav links can include an icon to support recognition in dense navigation.
Use icons when they help users scan repeated navigation items.
Nested sidenav items can customise the caret icon used for expansion.
Use the default caret for standard nested navigation.
Each row is a colour, spacing, or size value the component uses, and the right-most column tells you where in the component you'll see it.
sgds-padding-sm—sgds-padding-sm—sgds-padding-2-xs—sgds-padding-3-xl—sgds-padding-xl24pxsgds-gap-xs8pxsgds-border-radius-md8pxsgds-font-size-1616pxsgds-font-weight-regular—sgds-font-weight-semibold—sgds-line-height-2424pxsgds-icon-size-lg—sgds-outline-focus—sgds-outline-offset-focus—Sidenav suits content-heavy sections like documentation or settings where users need every link in view.
Sidenav is for moving within a section. Place the global mainnav above it so users can still cross sections.
Use sgds-sidenav-item with child links when sub-pages belong together so the nav stays scannable.
Deeply nested sidenavs are hard to operate. Restrict nesting to one level and split larger structures.
TabShift+TabEnterSpace↓ Downor→ Right↑ Upor← LeftShare them with us on Slack → #ask-sgds-v3
Report it on GitHub Issues → sgds/components/sidenav
The Singapore Government Design System was developed to empower teams in creating fast, accessible and mobile-friendly digital services.