Components
Popover
Floating content that appears relative to a trigger element
Preview
Installation
Usage
Examples
Advanced Positioning
Control popover placement with advanced positioning options.
Advanced Positioning
Click buttons to see different sides and alignments
Hover Trigger
Open popover on hover instead of click.
Hover Trigger Examples
Hover over the buttons to trigger popovers
Basic Hover
Hover with Delay
Hover with Close Delay
With Backdrop
Add backdrop overlay when popover is open.
With Header and Footer
Include structured header and footer sections.
Without Arrow
Hide the arrow pointer for a cleaner look.
API Reference
The Popover component is built on top of Base UI's Popover. All Base UI props are supported. The documentation below only covers custom props and modified defaults specific to our implementation.
For the complete Base UI API, see the Base UI Popover documentation.
Custom Props
PopoverContent
Prop
Type
Default
Modified Defaults
Our implementation changes the following Base UI prop defaults:
- PopoverContent:
sidedefaults to'bottom'(Base UI defaults to'top') - PopoverContent:
aligndefaults to'center'(Base UI defaults to'center'but we make it explicit) - PopoverContent:
sideOffsetdefaults to8(Base UI defaults to0) - PopoverContent:
alignOffsetdefaults to0 - PopoverContent:
collisionPaddingdefaults to10 - PopoverContent:
stickydefaults tofalse - PopoverContent:
positionMethoddefaults to'absolute' - PopoverContent:
arrowdefaults totrue