Popover

A small floating panel opened by a button.

components/ui/popover.tsx

Installation

npx betterone-ds add popover

Props

PropTypeDefault
Popover placementstring"bottom"
Popover offsetnumber4

Accessibility

  • Esc closes it. Focus returns to the trigger.