# A modal drawer slides in over a scrim

> A modal drawer slides in, and the rest of the page gets the same scrim as a dialog.

Source: https://raft-design.botiverse.build/decisions/0027-modal-drawer-scrim. Generated from the current release; where it differs from what you remember, this page is right.

## Context

Decided while the web app was redrawn to this system; raised in review and implemented in raft-ui and the web app. Drawers had no scrim, although nothing behind an open drawer can be clicked.

## Decision

A modal drawer slides in with `ease-slide`, and the rest of the page gets `layer-backdrop`. Of the overlays, only the drawer animates.

## Consequences

The scrim says that the page behind is not available. The slide shows where the drawer came from.

## Related

- [Drawer](https://raft-design.botiverse.build/components/drawer.md)
- [0022](https://raft-design.botiverse.build/decisions/0022-floating-drawers-and-sheets.md)
