Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Popover examples · Standard

Popover with Footer for React

A popover with a title, a line of text, and Cancel and Confirm buttons at the bottom.

Framework
UI library

A title, a line of text, and Cancel and Confirm at the end of a footer row. Use it for a quick confirmation tied to one control; a decision that can't be undone belongs in an Alert Dialog. In React, Base UI handles opening, dismissing and focus.

Preview

Preview width

Installation

Sign in to get your install command
Free with an account. It carries your token, so the CLI installs everything in one go.

FAQ

How does this panel dismiss?

Escape closes the panel and returns focus to the trigger. A click outside closes it too. The panel sits beside the button, and the rest of the page stays usable.