Appearance
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 parentType declarations #
MenuSection #
ts
export interface MenuSection {
icon?: string;
title?: string;
href?: string;
to?: string;
isOpen?: boolean;
subsections?: MenuSection[];
order?: number;
}
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9