byronwade/ui
Application UI

Overlays · Application UI

Popover

A floating popover panel built on Base UI that renders anchored content next to a trigger element with configurable side and alignment positioning.

Feature showcase

Installation

Features

  • 6 examples

    Default, Controlled, Menu Like, Placement, Rich Content, With Form.

API

Props

PropTypeDefaultDescription
openboolean-Controlled open state of the popover.
onOpenChange(open: boolean) => void-Callback fired when the open state changes.
defaultOpenboolean-Initial open state for uncontrolled usage.

Source and related

FilePath
Componentregistry/ui/popover.tsx
Default examplecontent/examples/popover/default.tsx
Controlled examplecontent/examples/popover/controlled.tsx
Menu Like examplecontent/examples/popover/menu-like.tsx
Placement examplecontent/examples/popover/placement.tsx
Rich Content examplecontent/examples/popover/rich-content.tsx
With Form examplecontent/examples/popover/with-form.tsx