Icons used for each sidebar-item. You don't need this folder if you can provide your own icons.
used to toggle each sidebar section
responsable of the sidebar.
compose sidebar-header and sidebar-items components.
contains the logo displayed on top of the sidebar
represents each sidebar-item of the sidebar.
compose many sidebar-item components
where all states for handling opening and closing sidebar are defined
You can customize everything according to your preferences if it doesn't suit you. What we have done is just provide a solid structure for better scalability and readability of the code.
The sidebar scrollbar is hidden by default but you can still scroll with the keyboards if you have several sidebar-items.
In the dashboard-layout component, sidebar component has as input mobileOrientation, which indicates the orientation of the sidebar on small devices (viewport {{ "<" }} 1024px).
That prop can have two possible values :