Overlay

Overlay components codify design patterns related to floating surfaces such as Dialogs and menus.

Overlay is an internal component and is intended to be used as a private API, composing other components. It is not intended to be used on its own. If you are looking for a standalone overlay component, consider using AnchoredOverlay or Dialog.

The Overlay component handles all behaviors needed by Overlay UIs as well as the common styles that all Overlays should have. Overlay is the internal, or base component for many of our overlay-type components. Overlays use shadows to express elevation.

React examples

Dialog Overlay

Props

Loading data for overlay...