Skip to main content
Version: Next

SidebarSubmenuItemProps

Home > @backstage/core-components > SidebarSubmenuItemProps

Holds submenu item content.

Signature:

export type SidebarSubmenuItemProps = {
title: string;
subtitle?: string;
to?: string;
icon?: IconComponent;
dropdownItems?: SidebarSubmenuItemDropdownItem[];
exact?: boolean;
initialShowDropdown?: boolean;
};

References: IconComponent, SidebarSubmenuItemDropdownItem

Remarks

title: Text content of submenu item subtitle: A subtitle displayed under the main title to: Path to navigate to when item is clicked icon: Icon displayed on the left of text content dropdownItems: Optional array of dropdown items displayed when submenu item is clicked.