@mozaic-ds/vue
Version:
Mozaic-Vue is the Vue.js implementation of ADEO Design system
18 lines (11 loc) • 756 B
Markdown
# MOverlay
An overlay is a semi-transparent layer that appears on top of the main content, typically used to dim the background and focus user attention on a specific element. It is often combined with modals, popovers, or loading states to create a visual separation between the foreground and background. Overlays help prevent unintended interactions while keeping the primary content accessible.
## Props
| Name | Description | Type | Default |
| --- | --- | --- | --- |
| `isVisible` | Controls the visibility of the overlay. | `boolean` | - |
| `dialogLabel` | Accessible label for the overlay dialog. | `string` | - |
## Slots
| Name | Description |
| --- | --- |
| `default` | Use this slot to insert a centered content inside the overlay. |