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.
Preview
Backdrop API
API reference docs for the React Backdrop component.
Props
| Name | Type | Default | Description |
|---|---|---|---|
| open | bool | - | If true, the component is shown. |
| children | node | - | The content of the component |
| className | string | - | Override or extend the styles applied to the component |
| invisible | bool | false | If true, the backdrop is invisible. It can be used when rendering a menu or a custom select component. |
Last updated on