--- title: "Menu" slug: menu category: component type: overview version: 20.0.0 tokens: 301 source: https://ovh.github.io/design-system/v20.0.0/llms/react-components-menu.txt --- # Menu _A Menu component provides a list of options or actions that appear when a user interacts with its trigger element._ ## Props | Property | Type | Required | Default | Description | |---|---|---|---|---| | `onOpenChange` | `(detail: MenuOpenChangeDetail) => void` | No | undefined | Callback fired when the menu open state changes. | | `onPositionChange` | `(detail: MenuPositionChangeDetail) => void` | No | undefined | Callback fired when the menu position changes. | | `open` | `boolean` | No | undefined | The controlled open state of the menu. | | `overlayConfig` | `object` | No | undefined | The overlay configuration. | | `positionerStyle` | `CSSProperties` | No | undefined | Custom style applied to the overlay positioner. Useful if you want to override the overlay z-index. | | `triggerId` | `string` | No | undefined | ID of an external trigger element to use in place of the MenuTrigger component. | ## Examples - Default - Controlled - Disabled - Group - Nested ## Documentation pages - [Documentation](./react-components-menu--documentation.txt) - [Technical Information](./react-components-menu--technical-information.txt) - [Examples](./react-components-menu--examples.txt)