Popover
functionSource L8Open-code aq-ui accessible component family for Popover.
function Popover({ ...props }: PopoverPrimitive.Root.Props)- Props type
PopoverPrimitive.Root.Props
<Popover />
Open-code aq-ui accessible component family for Popover.
This is a live example. Interact with the available controls and use the keyboard to inspect the component's states and behavior.
pnpm dlx aq-ui@alpha add popoverImport the parts you need, then jump to an export for its contract.
"use client"
import { Popover } from "@/components/ui/popover"
<Popover />Open-code aq-ui accessible component family for Popover.
function Popover({ ...props }: PopoverPrimitive.Root.Props)PopoverPrimitive.Root.PropsContent export for composing Popover.
const PopoverContent = React.forwardRef<React.ComponentRef<typeof PopoverPrimitive.Popup>, PopoverPrimitive.Popup.Props & Pick< PopoverPrimitive.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset" >>(…)PopoverPrimitive.Popup.Props & Pick< PopoverPrimitive.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset" >Description export for composing Popover.
const PopoverDescription = React.forwardRef<React.ComponentRef<typeof PopoverPrimitive.Description>, PopoverPrimitive.Description.Props>(…)PopoverPrimitive.Description.PropsHeader export for composing Popover.
const PopoverHeader = React.forwardRef<React.ComponentRef<"div">, React.ComponentProps<"div">>(…)React.ComponentProps<"div">Title export for composing Popover.
const PopoverTitle = React.forwardRef<React.ComponentRef<typeof PopoverPrimitive.Title>, PopoverPrimitive.Title.Props>(…)PopoverPrimitive.Title.PropsTrigger export for composing Popover.
const PopoverTrigger = React.forwardRef<HTMLButtonElement, PopoverPrimitive.Trigger.Props>(…)PopoverPrimitive.Trigger.Propsutils
@base-ui/react@^1.7.0