Popover
Radix popover on the Layro surface: collision-aware, closes on Escape and outside click, and takes an accessible name so a filter panel is announced as one.
OverlaysFree51 lines · one file
Installation
How you get it
One command. The CLI writes the file into components/ui/ and installs what it needs.
npx shadcn@latest add https://layropro.com/r/popoverAPI
“Copy prompt” above puts a full brief on your clipboard — install command, dependencies, props, and the mistakes an assistant usually makes with this component.
Dependencies
npm packages
@radix-ui/react-popoverclsxtailwind-mergeLayro foundations, installed alongside it
layro-themeLifetime access
Every component, and everything we ship next.
- All 65 components, source included
- The template, and everything released after you buy
- shadcn CLI or download — React 18/19, Tailwind v4
- One payment. No subscription.
More in Overlays
Dialog
FreeA modal that requires a title, plus a confirm dialog that can ask you to type the name.
Drawer
PaidA panel from the right, left or bottom, for editing something without leaving the page.
Included with lifetime access
Tooltip
FreeA label with an optional keyboard shortcut, shown on hover and on focus.