trigger | ReactNode | - | |
|
render | ReactElement | - | |
|
triggerLabel | string | - | |
|
title | string | - | The popup's heading, wired up by Base UI's own Popover.Title. |
| The popup's heading, wired up by Base UI's own Popover.Title. |
description | ReactNode | - | The body text, wired up by Base UI's own Popover.Description. |
| The body text, wired up by Base UI's own Popover.Description. |
children | ReactNode | - | |
|
side | top | right | bottom | left | bottom | |
|
sideOffset | number | 8 | Gap between the trigger and the popup, or its arrow tip, in pixels. |
| Gap between the trigger and the popup, or its arrow tip, in pixels. |
arrow | boolean | true | |
|
openOnHover | boolean | false | |
|
delay | number | 300 | |
|
open | boolean | - | |
|
onOpenChange | (open: boolean) => void | - | Called whenever the popup opens or closes, controlled or not. |
| Called whenever the popup opens or closes, controlled or not. |
showClose | boolean | false | |
|
triggerVariant | icon | label | icon | icon is a fixed square for a glyph alone; label gives the trigger room to pair an icon with text. |
icon is a fixed square for a glyph alone; label gives the trigger room to pair an icon with text. |
shape | none | rounded | pill | rounded | |
|
animated | boolean | true | |
|
className | string | - | |
|
focus | boolean | string | true | |
|
container | HTMLElement | null | - | |
|