Vue Sidebar Component API
Sidebar API
Explore the API reference for the Vue Sidebar component and discover how to effectively utilize its props for customization.
On this page
import { CSidebar } from '@coreui/vue-pro'
| Property | Default | Type |
|---|
Sets if the color of text should be colored for a light or dark dark background. |
Make sidebar narrow. |
Set sidebar to overlaid variant. |
Components placement, there’s no default placement. |
Place sidebar in non-static positions. |
Size the component small, large, or extra large. |
Expand narrowed sidebar on hover. |
Toggle the visibility of sidebar component. |
| Event name |
|---|
Callback fired when the component requests to be hidden. |
Callback fired when the component requests to be shown. |
Event emitted after visibility of component changed. |
import { CSidebarNav } from '@coreui/vue-pro'
| Property | Default | Type |
|---|
Component used for the root node. Either a string to use a HTML element or a component. |
Make navigation more compact by cutting link padding in half. |
Sets the navigation variant. |