Popover
Floating panel anchored to a trigger with interactive content.
npx @slipstream-ui/cli@latest add popoverUsage
Forms and wide content
Placement
Anchored to a field
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| open | boolean | — | Controlled open state. |
| onOpenChange | (open: boolean) => void | — | Called when the open state changes. |
| .PopoverContent | PopoverContentProps | — | side, align, sideOffset, alignOffset, collisionPadding and matchTriggerWidth control placement, flipping and clamping. |
| .PopoverAnchor | PopoverAnchorProps | — | Anchors the panel to this element instead of the trigger wrapper. |
Accessibility
- role=dialog with aria-labelledby linking to the trigger.
- Escape closes the popover; outside click dismisses it.
Browser support
| Browser | Tested versions |
|---|---|
| Chrome | 111+ (Mar 2023) |
| Edge | 111+ (Mar 2023) |
| Firefox | 121+ (Dec 2023) |
| Safari | 17.2+ — macOS & iOS (Dec 2023) |
Slipstream components rely only on CSS custom properties, Flexbox/Grid, and ARIA — the everyday baseline of the last two years of evergreen releases. Anything newer is progressive enhancement: unsupported browsers keep full functionality with static behavior instead of animations.