Skip to content

Popover

Anchored overlay via measureInWindow + Modal.

Terminal window
npx github:truongnat/rnui#cli add popover

or directly via the shadcn CLI:

Terminal window
npx shadcn add https://<registry-base>/r/nativewind/popover.json # or /uniwind/
<Popover>
<PopoverTrigger><Button variant="outline">Open</Button></PopoverTrigger>
<PopoverContent>
<Text>Popover content</Text>
</PopoverContent>
</Popover>
  • components/ui/popover.tsx

Installs together with: utils, theme