Skip to main content

Collapsed Width

The collapsedWidth prop is used to set the width of the navigation sidebar when it is in the collapsed state. You can set it to a number value, which represents the width in pixels.

Props

collapsedWidth?: number
Default Value
collapsedWidth={80}

Example

/vertical-menu/vertical-nav/collapsed-width

Source Code