# Overlay
Create a mask layer to emphasize specific page elements and prevent users from performing other operations.
## Basic Usage
Use `show` to control the display/hide of the mask layer.
```html
Show Overlay
```
## Embedded Content
Modify the indicator type through `type`, with optional value 'outline', suitable for general module loading.
```html
Embedded Content
```
```scss
.wrapper {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.block {
width: 120px;
height: 120px;
background-color: #fff;
}
```
## Attributes
| Attribute | Description | Type | Options | Default | Version |
|-------------|------------------------|-------------------|---------|---------|----------|
| show | Whether to show overlay| `boolean` | true | false | - |
| duration | Animation duration in milliseconds | `string / number` | - | 300 | - |
| lockScroll | Whether to lock scrolling | `boolean` | false | true | - |
| zIndex | z-index level | `number` | - | 10 | - |
| customStyle | Custom style | `string` | - | - | - |