Skip to main content

Transition Duration

The transitionDuration prop allows you to set the duration of the animation when the navigation sidebar is being collapsed, expanded or toggled. The value is in milliseconds (ms).

Props

transitionDuration?: number
Default Props
transitionDuration = 300; // milliseconds

Example

/vertical-menu/vertical-nav/transition-duration

Source Code