structyl

Backdrop API

View component

The full prop reference for the Backdrop component. A full-screen scrim for modal states.

Import

tsx
import { Backdrop } from '@structyl/styled';

Props

Backdrop

Blocking scrim.

PropTypeDefault
open#boolean

Open state.

false
forceMount#boolean

Keep mounted when closed.

false
invisible#boolean

Remove visible scrim color.

false
className#string

Additional Tailwind classes merged with the component defaults.

Source code

If you didn't find what you need here, read the component implementation .

structyl — Accessible React Component Library