Skip to main content

Disabled

The Disabled feature allows you to disable a menu item, preventing user interaction and indicating that the item is currently inactive or unavailable. The disabled prop is used to control the disabled state of a menu item.

By setting the disabled prop to true, the corresponding menu item will be visually disabled and user interactions, such as clicks or hover effects, will be prevented.

Props

disabled?: boolean
Default Value
disabled={false}

Example

/horizontal-menu/menu-item/disabled

Source Code