To switch to a light sidebar, add
data-menu-color="light" to the
<html> tag in your layout.
You can apply this dynamically using the
LayoutStoreService with
setSidenavColor('light').
Preview
To switch to a gradient sidebar, add
data-menu-color="gradient" to the
<html> tag in your layout.
You can apply this dynamically using the
LayoutStoreService with
setSidenavColor('gradient').
Preview
To switch to a gray sidebar, add
data-menu-color="gray" to the
<html> tag in your layout.
You can apply this dynamically using the
LayoutStoreService with
setSidenavColor('gray').
Preview
To switch to a image sidebar, add
data-menu-color="image" to the
<html> tag in your layout.
You can apply this dynamically using the
LayoutStoreService with
setSidenavColor('image').
Preview
To switch to a compact sidebar, add
data-sidenav-size="compact" to the
<html> tag in your layout.
You can apply this dynamically using the
LayoutStoreService with
setSidenavSize('compact').
Preview
To switch to a sidebar with icon, add
data-sidenav-size="condensed" to the
<html> tag in your layout.
You can apply this dynamically using the
LayoutStoreService with
setSidenavSize('condensed').
Preview
To switch to a on hover active sidebar, add
data-sidenav-size="on-hover-active" to the
<html> tag in your layout.
You can apply this dynamically using the
LayoutStoreService with
setSidenavSize('on-hover-active').
Preview
To switch to a offcanvas sidebar, add
data-sidenav-size="offcanvas" to the
<html> tag in your layout.
You can apply this dynamically using the
LayoutStoreService with
setSidenavSize('offcanvas').
Preview
If you want to display a line with each menu item, add the class
"sidebar-no-icons sidebar-with-line" to the
<html> tag. You can apply this dynamically using the
LayoutStoreService with
setHtmlAttribute('class', 'sidebar-no-icons sidebar-with-line').
Preview
If you want to display a line with each menu item, add the class
"sidebar-with-line" to the
<html> tag. You can apply this dynamically using the
LayoutStoreService with
setHtmlAttribute('class', 'sidebar-with-line').
Preview