> For AI agents: the complete documentation index is available at https://wallarm.github.io/design-system/llms.txt, the full documentation bundle is available at https://wallarm.github.io/design-system/llms-full.txt.

# Overlay

The house scrim — a fixed, dimmed, lightly blurred layer that mutes the page behind an elevated surface. `Dialog`, `Drawer` and `Tour` render it for you, so reach for those; a popover, tooltip or dropdown is non-modal and takes no scrim at all. It is presentation only: no focus trap, no click-to-dismiss, no scroll lock, and no `className`.

[Source](https://github.com/wallarm/design-system/tree/main/packages/design-system/src/components/Overlay) · [Storybook](https://wallarm.github.io/design-system/storybook/?path=/docs/primitives-overlay--overview)

```tsx
import { Overlay } from '@wallarm-org/design-system/Overlay';

export const Basic = () => <Overlay />;
```

## Usage

```tsx
import { Overlay } from '@wallarm-org/design-system/Overlay';
```

## Props

| Prop           | Type                                                 | Default | Description |
| -------------- | ---------------------------------------------------- | ------- | ----------- |
| title          | `string \| undefined`                                |         |             |
| defaultChecked | `boolean \| undefined`                               |         |             |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |             |
| autoFocus      | `boolean \| undefined`                               |         |             |
| id             | `string \| undefined`                                |         |             |
| tabIndex       | `number \| undefined`                                |         |             |
| rel            | `string \| undefined`                                |         |             |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |             |
| data-testid    | `string \| undefined`                                |         |             |
