Navigation Item

Navigation Item

The Navigation Item component renders a primary navigation dropdown item in the Header's main navbar. When the link field is empty, it displays as a dropdown toggle that opens a mega menu. When a link is provided, it renders as a direct navigation link.

Control Properties

The Navigation Item rendering does not use traditional rendering parameters. Its behavior is determined by the datasource content and its placement within the Header's navigation-item placeholder.

ConfigurationTypeDescription
Placeholders: drop-down-menu-containerPlaceholderContains a Drop Down Menu rendering that provides the mega menu content when the item acts as a dropdown toggle.
Datasource LocationRelativeDatasource is created relative to the current item (./), typically as child items of the Header datasource.

Template Properties

The Navigation Item rendering uses the Navigation Item datasource template (/sitecore/templates/Feature/Navigation/Navigation Item), which inherits from _NavigationItem and _AuthNavigationItem.

FieldTypeSourceDescription
TitleSingle-Line Text_NavigationItemThe display text for the navigation link or dropdown toggle label.
LinkGeneral Link_NavigationItemWhen populated (internal or external), the item renders as a direct link. When empty, it renders as a dropdown toggle that opens the mega menu.
RequiresAuthCheckbox_AuthNavigationItemWhen checked, the navigation item is only visible to authenticated users.
Rendering Behavior
  • No Link (empty) — Renders as a dropdown toggle (<a class="nav-link dropdown-toggle">) with a drop-down-menu-container placeholder for the mega menu.
  • Link provided — Renders as a standard nav link (<a class="nav-link">) with direct navigation to the href. The drop-down-menu-container placeholder is still available but typically unused.
Placeholder Structure
PlaceholderAcceptsPurpose
drop-down-menu-containerDrop Down MenuContains the mega menu dropdown content with multi-column layouts, Link List Columns, and Mega Menu Cards.