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 layout 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 layout 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 layout 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 layout 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 layout 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 layout 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 layout 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 layout 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
toggleAttribute('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
toggleAttribute('class', 'sidebar-with-line').
Preview