Playground
Show a toast to try it.
<script lang="ts">
import { sileo, Toaster } from 'sileo-svelte';
import 'sileo-svelte/styles.css';
function notify() {
sileo.success({
"title": "Changes saved",
"description": "Your draft is ready to share.",
"position": "top-right",
"duration": 6000,
"roundness": 16,
"fill": "#1c1c1e"
});
}
</script>
<Toaster />
<button onclick={notify}>Show toast</button>