Tag Archives: daisyui

Creating a callable Toast component in Svelte using bind:this (DaisyUI optional)

I’m using Svelte+Kit for new development, and also starting to use DaisyUI, i found a need to use the Toast component to show a message which appears for a while, then disappears, such as an error message on a form submit, or a success message. Creating a Svelte component called Toast.svelte would be easy. The […]