React dialog, drawer and popover components
Free React overlay components: dialog, alert dialog, drawer, sheet, popover, dropdown menu, context menu and hover card with focus trapping and escape handling.
Overlays are where accessibility usually breaks, so these are built on Base UI primitives: focus moves in and returns on close, escape and outside clicks work, and background content is inert.
They share one elevation and motion language, so a dropdown, a dialog and a sheet feel like parts of the same product rather than three separate libraries.
Components 14
Frequently asked questions
What is the difference between a dialog and an alert dialog?
An alert dialog is for confirmations the user must answer, so it cannot be dismissed by clicking outside. A regular dialog can be dismissed freely.
Do overlays work inside other overlays?
Yes. Menus inside dialogs and nested popovers stack correctly and close in the right order.
How do I make a bottom sheet on mobile?
Use the drawer or sheet component with the bottom side. It keeps the same focus handling as the dialog.