You're in the Library

Popover

A small non-modal panel anchored to a trigger, for extra detail or a quick choice that does not deserve a dialog: who must review, what a check does, branch info.
Stable
Edit

Preview appears after the next Storybook update.

Popover example
<Popover />
Rendered with the real componentFrom the code
Light
Dark

When to use

Use it for

  • Explaining something next to the control it is about, when the text is too long for a tooltip or contains a link.
  • A small form or a couple of actions tied to one control.
  • Info icons: Popover (click or openOnHover) instead of Tooltip, so touch and screen reader users can reach it.

Not for

  • A list of actions: use Menu, which has the right keyboard model.
  • A label for an icon button: use Tooltip.
  • A task that must be completed or cancelled: use Dialog.

Do and don't

Every example is rendered with the real component, so it always matches what ships.

Do

Keep it short and anchored

A title, two sentences, at most one or two actions. The arrow shows what it belongs to.

Don't

Forms that span several sections

A popover closes on an outside click, so long input gets lost. Use a Dialog or a Drawer.

Accessibility

  • Base UI Popover: the trigger exposes aria-expanded and aria-controls; the popup is a dialog named by its title.
  • Focus moves into the popup when it opens and back to the trigger when it closes. Escape and outside clicks close it.
  • Non-modal by default: the page stays usable. Set modal when the popover holds a small form.
  • It flips and shifts to stay in the viewport; the arrow follows the anchor.

Content guidelines

  • Title in sentence case, no period. Body in one or two plain sentences.
  • Links inside say where they go.

From the code Generated from the component, not editable here.

Anatomy and tokens

Read from packages/react/src/components/Popover/Popover.module.css at build time. Every value is a token: open one to see its alias chain in both themes.

21 tokens11 semantic or component, change with theme and brand10 from the shared scales

Motion and interaction

Popover animates on open and close. Try it in the preview at the top.

WhenWhat changesDurationEasing
OpenFade and movementmotion.duration.fast150 msmotion.easing.enterstarts fast, lands softly
CloseFade and movementmotion.duration.fast150 msmotion.easing.exitstarts softly, leaves fast

With reduced motion turned on, every change happens at once.

From the code Generated from the component, not editable here.

Props

Parsed from the TypeScript types in packages/react/src/components/Popover/Popover.tsx, so this table cannot drift from the code.

PropTypeDefaultDescription
openbooleannoneNo description in the code yet.
defaultOpenbooleannoneNo description in the code yet.
onOpenChange(open: boolean) => voidnoneNo description in the code yet.
modalbooleanfalseTrap focus and block the page while open. Default false: popovers are light, non-modal surfaces.
childrenReactNodenonePopoverTrigger and PopoverContent.

Playground

Popover has no typed options to play with: it is a container. Compose it with other components and any native attribute. Here it is in both themes.

Light
Dark

Workbench

For contributors: every state with the accessibility panel, in the component workbench (Storybook). The stories double as visual test fixtures; the guidance on this page is the user documentation (open Popover in Storybook).

Embed Storybook stories here (3)

Loads from https://bridge-storybook.floriangouloubi.com (set STORYBOOK_URL at build time). If Storybook is not running, the frames stay empty.

Default

WithActions

AllStates

From the code Generated from the component, not editable here.

Changelog

  • New

    The measure now writes the Figma sets drawn under a component's folder as their own entries, so Claude can fix them: popups drawn open (Dialog/Popup, AlertDialog/Popup, Drawer/Popup, Menu/Popup, Popover/Popup, Tooltip/Popup, and Select/Popup or Combobox/Popup, measured open when the stories show them closed) and sets that fix a prop (Pagination/Full, Pagination/Compact, Progress/Linear)

    v1.0.0, Nov 11, 2026

  • New

    Overlays: Dialog (sizes, scrolling body, footer, close last in focus order), AlertDialog (destructive confirmations, async confirm), Drawer (start, end, bottom with swipe), Popover, Tooltip with TooltipProvider, Menu (icons, shortcuts, groups, submenus, checkbox and radio items, danger items)

    v1.0.0, Nov 11, 2026

  • Fix

    The measure finds a popup set by the first class of its root (Popover.module.css .popup), not every class the static spec names: Popover/Popup, whose spec folds the body's class into the root, is now measured like the other popups

    v1.0.0, Nov 11, 2026

  • Fix

    Popover: the arrow no longer makes the popup show scrollbars when it opens above its trigger

    v1.0.0, Nov 11, 2026

All release notes