Popover
A panel that floats beside the button that opens it, below it by default, for content that belongs next to it, here a PopoverHeader with its title and description.
Usage
Examples
Sizes
size sets the padding and the words at the same width: sm 6px in around 12px words, base 8px around 14px words (the default) or lg 12px around 16px words, the title and the description stepping with them; each button opens its own popover.
Border radius
borderRadius sets the panel's corners on the kit's one scale: none, xs 4px, sm 6px, base 8px, lg 12px (the default) or xl 16px; each button opens its own popover.
Side
side opens the panel above, to the right of, below (the default) or to the left of its trigger, and it flips to the opposite side when there is no room.
Align
align lines the panel up with the start, the centre or the end of its trigger; by default it takes the start or the end, after the half of the page the trigger sits in.
Anchor
PopoverAnchor places the panel against another element, here the row that holds the trigger, rather than against the trigger itself.
API Reference
It takes the props of Radix Popover.Root.