Skip to content

Toast

Make sure to include the Toaster component inside the provider to enable toast notifications.

For installation and setup instructions, see the Getting Started guide.

Recommended: Place this in src/routes/+layout.svelte (SvelteKit root layout)

<script lang="ts">
import { Provider, Toaster } from "@dxdns-kit/svelte"
</script>
<Provider>
<Toaster />
{@render children()}
</Provider>