Side Nav
Design System - Side nav component

// Sample code
<SideNav
items={[
{
icon: {
icon: 'Home'
},
label: 'Home'
},
{
children: [
{
icon: {
icon: 'Work'
},
label: 'SubModule 1',
path: '/'
},
{
icon: {
icon: 'Person'
},
label: 'SubModule 2',
path: '/'
}
],
icon: {
icon: 'ChatBubble'
},
label: 'Module 1'
},
{
children: [
{
children: [
{
icon: {
icon: 'LabelImportant'
},
label: 'InnerModule 1',
path: '/'
},
{
icon: {
icon: 'Lock'
},
label: 'InnerModule 2',
path: '/'
}
],
icon: {
icon: 'Info'
},
label: 'SubModule 1',
path: '/'
},
{
icon: {
icon: 'Accessibility'
},
label: 'SubModule 2',
path: '/'
}
],
icon: {
icon: 'CheckCircle'
},
label: 'Module 2'
},
{
icon: {
icon: 'Delete'
},
label: 'Module 3'
},
{
icon: {
icon: 'DriveFileMove'
},
label: 'Module 4'
},
{
icon: {
icon: 'Label'
},
label: 'Module 5'
},
{
icon: {
icon: 'Lightbulb'
},
label: 'Module 6'
}
]}
onBottomItemClick={function noRefCheck(){}}
onSelect={function noRefCheck(){}}
transitionDuration={0.5}
/>Anatomy

Variants


Properties

Property Configuration Table
Property
Value
Default
Property
Value
Default
Usage Guide


Change log
Date
Number
Notes
Design Checklist
Last updated
Was this helpful?

