v0.1 public beta early access on GitHub
Home / Components / popover

PopoveriOS

Anchored bubble with arrow and dismiss on tap-out.

$ npx lumioui add popover
import { Popover } from "@/components/ui/popover/popover";
Props11
Popover
children React.ReactNode
open? boolean Controlled open state.
defaultOpen? boolean Uncontrolled initial state.
onOpenChange? (open: boolean) => void
PopoverTrigger
children React.ReactNode
className? string
PopoverContent
className? string
align? "start" | "center" | "end" Horizontal alignment relative to the trigger. Default "center".
side? "top" | "bottom" Which side of the trigger to render on. Default "bottom".
sideOffset? number Gap between trigger and content. Default 6.
contentWidth? number Max content width — the panel hugs content up to this cap, then clamps inside the safe window. Default 224.
Popoverpopover.tsx
popover/popover.tsx open

Anchored bubble with arrow and dismiss on tap-out.