A wrapper that applies a fade-out transition (350ms) to its children when they are removed from the DOM. Used internally by Modal to animate the overlay background.
<script>
import { OverlayAnimation } from '@juspay/svelte-ui-components';
</script>
<OverlayAnimation />Svelte 5 Snippet props — pass content blocks to the component.
| Snippet | Type | Description |
|---|---|---|
| children | Snippet |
Content to render inside the overlay. |