npm install @thrivecart/uiyarn add @thrivecart/uipnpm add @thrivecart/uibun add @thrivecart/uiimport { Popover, PopoverTrigger, PopoverContent } from '@thrivecart/ui';Popover with interactive content
<Popover>
<PopoverTrigger asChild>
<Button variant="secondary">Edit Name</Button>
</PopoverTrigger>
<PopoverContent className="w-80">
<div className="flex flex-col gap-3">
<h4 className="font-medium text-sm">Edit Display Name</h4>
<Input defaultValue="John Doe" />
<Button size="sm">Save</Button>
</div>
</PopoverContent>
</Popover>Popovers should contain one focused task or piece of information.
Let the popover auto-position to avoid viewport clipping.
Popovers can be easily dismissed. Use dialogs for important actions.
If you need more than a small panel's worth of content, use Sheet or Dialog.
role="dialog" for screen readers.