Overlay

A conditional overlay component.
It respects the safe-area on iOS by adding extra padding.

It accepts all Box props except for extend.
It can't have padding.

Props

Name
Type
Default
Description
overflow
auto

|  
hidden

|  
scroll
auto
visible
bool
Sets the visiblity of the modal.
zIndex
number
10

Examples