Vertical Navigation Section

lightning:verticalNavigationSection

Represents a section within a lightning:verticalNavigation. This component requires API version 41.0 and later.

For Aura components only. For LWC development, use lightning-vertical-navigation-section.

For Use In

Lightning Experience, Experience Builder Sites, Salesforce Mobile App, Lightning Out (Beta), Standalone Lightning App, Mobile Offline

A lightning:verticalNavigationSection component is a section that can contain the following components.

  • lightning:verticalNavigationItem
  • lightning:verticalNavigationItemBadge
  • lightning:verticalNavigationItemIcon

Sections are helpful for categorizing your navigation items. Each section is displayed with a header title based on the label attribute.

This example creates a vertical navigation menu with two sections.

For more information, see the lightning:verticalNavigation documentation.