Overlays
Popover
Adaptive floating panel that opens relative to a trigger — dropdown on desktop, sheet on mobile.
Floating Panels
Popovers are used for non-critical overlays like user menus or information tooltips. Like Modals, they transform into bottom sheets on mobile.
Adaptive Menu
An adaptive floating panel that opens relative to a trigger. It automatically becomes a bottom-sheet on mobile devices.
Properties
| Prop | Type | Default | Description |
|---|---|---|---|
trigger | React.ReactNode | — | Visual trigger element that spawns the menu list |
children | React.ReactNode | — | Main descriptive text or overlay children layout |
isOpen | boolean | — | Controlled state of overlay visibility |
onOpenChange | (open: boolean) => void | — | Configures the onOpenChange option |
placement | 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end' | 'bottom-start' | Menu popup alignment position relative to trigger |
width | number | string | 240 | Horizontal width in pixels or CSS units |
minWidth | number | string | — | Configures the minWidth option |
maxHeight | number | string | — | Configures the maxHeight option |
closeOnOutsideClick | boolean | true | Configures the closeOnOutsideClick option |