Skip to main content

Transition Duration

The transitionDuration prop allows you to set the duration of the animation when the submenu is opened or closed. The value is in milliseconds (ms).

Props

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

Example

/horizontal-menu/menu/transition-duration

Source Code