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.

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.


Known accessibility issues (GitHub staff only)

View open accessibility issues related to this component