Components · Overlays
Floating content panel anchored to a trigger element.
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
| Popover.Root | compound | — | — | Root provider that manages open/close state. |
| Popover.Trigger | compound | — | — | Element that toggles the popover on click. |
| Popover.Content | compound | — | — | The floating content panel. |
| Popover.Arrow | compound | — | — | Optional arrow pointing to the trigger. |
| Popover.Close | compound | — | — | Button that closes the popover. |
| side | 'top' | 'right' | 'bottom' | 'left' | — | — | Preferred side of the trigger to render the content. |
| align | 'start' | 'center' | 'end' | — | — | Alignment of the content relative to the trigger. |
| sideOffset | number | — | — | Distance in pixels between the trigger and the content. |
import { Popover } from '@nexub/react';