Skip to Content
Archi-ui 1.0.25 is released 🎉
ComponentsBackdrop

Backdrop

The Backdrop component narrows the user’s focus to a particular element on the screen.

In its simplest form, The Backdrop component will add a dimmed layer over your application.

Usage

import { Backdrop } from 'archi-ui'
<Backdrop open={true} />

Basic Backdrop

The demo below shows a basic Backdrop with a Circular Progress component in the foreground to indicate a loading state. After clicking Show Backdrop, you can click anywhere on the page to close it.

Backdrop API

API reference docs for the React Backdrop component.

Props

NameTypeDefaultDescription
openbool-If true, the component is shown.
childrennode-The content of the component
classNamestring-Override or extend the styles applied to the component
invisibleboolfalseIf true, the backdrop is invisible. It can be used when rendering a menu or a custom select component.
Last updated on