Skip to content
On this page

Menu

Deprecated

This component has been migrated to on-project components and is no longer being updated in the library.

Sidebar menu component to navigate through the different functional sections. It is composed of a first level navigation, called sections, and sections that can divide the content within a section, called subsections.

Usage

For now, we have only developed the design system skin

Props

ComponentSkin skinIndicates which skin should be used for the component Default value: ComponentSkin.DESIGN_SYSTEM
ds
MenuSection[] sectionsSections and subsections to be displayed in the menu. If the section contains a subsection, it should not contain "to" or "href" property in the parent
boolean isAlwaysOpenFlag to allow the menu to be always open Default value: false

Type declarations

ts
export interface MenuSection {
    icon?: string;
    title?: string;
    href?: string;
    to?: string;
    isOpen?: boolean;
    subsections?: MenuSection[];
    order?: number;
}