← ui-lab

Popover

A non-modal floating panel anchored to a trigger. Activating the trigger opens the panel and moves focus into it; Escape or a click outside closes it and returns focus to the trigger. Unlike a dialog, the rest of the page stays interactive.

Preview

Installation

npx shadcn@latest add https://ui.publictheta.com/r/popover.json

Conformance

This component conforms to the @publictheta/ui-spec popover specification. Run the suite against any implementation with pnpm conformance.