Popover
Anchored free-form overlay — optional header (title + close), scrollable body, optional footer. Portals to body with viewport-aware placement (flips up when cramped).
<Popover
title="Notifications"
description="3 unread"
trigger={
<Button variant="outline">
Open popover
</Button>
}
footer={<LinkButton>View all</LinkButton>}
>
<div className="flex flex-col">
{/* notification rows */}
</div>
</Popover><Popover
align="end"
width={240}
trigger={
<IconButton
icon={faFilter}
type="outline"
aria-label="Quick filters"
/>
}
>
<div className="flex flex-col gap-xs p-md">
<Checkbox label="High priority" />
<Checkbox label="Overdue" />
<Checkbox label="Unassigned" />
</div>
</Popover>trigger:ReactNodeElement that toggles the popover (rendered inline).
title:stringHeader title — omit (with description) for a header-less popover.
description:stringSub-title under the title.
footer:ReactNodeFooter behind a top border (e.g. a 'View all' link).
align:"start" | "end"= "start"Align the panel's left or right edge to the trigger.
width:number= 320Panel width in px.
maxHeight:number= 420Max height before the body scrolls (capped by viewport).