Buttery smooth toast notifications for Svelte 5. Lightweight, customizable, and beautiful by default.
[!IMPORTANT] This is only compatible with Svelte 5. If you're using Svelte 4, please use a compatible version of Svelte French Toast.
pnpm add -D svelte-hot-french-toast
<script lang="ts">
import toast, { Toaster } from "svelte-hot-french-toast"
const makeToast = () => {
toast.success("Hello, World!")
}
</script>
<Toaster />
<button onclick={makeToast}>Toast</button>
I created this because the original project Svelte French Toast wasn't compatible with Svelte 5 and my changes were possibly not going to be merged.