GC Design system Components Installation Contact us Get involved GC Design System Components

Side navigation
<gcds-side-nav>

Also called: sidebar menu, lefthand nav, vertical navigation.

A side navigation is a vertical list of page links on the left side of the screen.

Side navigation component preview

Side navigation anatomy

  1. The label identifies the product site using text or a logo. It also labels the navigation landmark which will be used by assistive technologies. 
  2. The nav link is a link to a page or section on the product site.
  3. The nav group is a collection of nav links related to the nav group name. It can be collapsed and expanded.
  4. The nav group label identifies the nav group and acts as a button to expand and collapse the nav group.
  5. The nav group chevron icon points up when the nav group is collapsed and down when it’s expanded.
  6. The nav link with active indicator gives visual prominence to the current page.
Side navigation anatomy showing the labels the label, the nav link, the nav group, the nav group label, the nav group chevron icon, the nav link with active indicator.

Design and accessibility for side navigation

Set the label

Note: On mobile, the label does not link to the homepage.

Tip: Read nav link text aloud in sequence to note similarities in how link text sounds when read by an assistive device.

Add navigation groups to the side navigation

Organize nav group items alphabetically

Improve findability in nav groups with 7 or more nav links by ordering the links alphabetically – or numerically for items represented by numbers.

Help us improve

Have questions? Something you'd change or you'd like to see? Share your feedback with us to help improve GC Design System.

Give feedback
2023-10-30