--- title: "Popover" slug: popover category: component type: technical-information version: 20.0.0 tokens: 525 source: https://ovh.github.io/design-system/v20.0.0/llms/react-components-popover--technical-information.txt --- # Popover ## Popover | Property | Type | Required | Default | Description | |---|---|---|---|---| | `autoFocus` | `boolean` | No | undefined | Whether to automatically set focus on the first focusable content within the popover when opened. | | `onOpenChange` | `(detail: PopoverOpenChangeDetail) => void` | No | undefined | Callback fired when the popover open state changes. | | `onPositionChange` | `(detail: PopoverPositionChangeDetail) => void` | No | undefined | Callback fired when the popover position changes. | | `open` | `boolean` | No | undefined | The controlled open state of the popover. | | `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 PopoverTrigger component. | ## PopoverContent This component extends all the native `
` attributes. | Property | Type | Required | Default | Description | |---|---|---|---|---| | `createPortal` | `boolean` | No | undefined | Whether the component should be rendered in the DOM close to the body tag. | | `withArrow` | `boolean` | No | undefined | Whether the component displays an arrow pointing to the trigger. | ## PopoverTrigger This component extends all the native `