backdrop

Backdrop component is useful for handling "click outsite to close" functionality for modals, sidebars etc.

When visible (visible={true}) it renders as full viewport element with a semi-transparent background.

Backdrop can also be rendered as a portal to avoid issues with elements nesting.

Backdrop specific props

PropertyTypeRequiredDefaultDescription
visibleboolean🗸false

if true backdrop is visible

Backdrop component accepts also all of the responsive, theme-based style props.

Theme

Component

Presets

Download


Colors
Spacing
Typography
Breakpoints
Borders
Miscellaneous