Popover

A floating React panel anchored to a trigger, built on Base UI with side and align options, collision aware positioning, title and description parts.

src/registry/ui/popover.tsx/r/popover.json

Installation#

bash
npx shadcn@latest add @minidev/popover

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/popover.json

Usage#

tsx
import { Popover } from "@/components/ui/popover"

export function Example() {
  return <Popover />
}

API reference#

Also accepts every prop of PopoverPrimitive.Root props, passed through to the root element.

Dependencies#

npm

@base-ui/react

Built from

All dialog, drawer and popover components

Learn more