Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 603 Bytes

File metadata and controls

21 lines (14 loc) · 603 Bytes

OverlayAnimation

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.

Usage

<script>
  import { OverlayAnimation } from '@juspay/svelte-ui-components';
</script>

<OverlayAnimation />

Snippets

Svelte 5 Snippet props — pass content blocks to the component.

Snippet Type Description
children Snippet Content to render inside the overlay.