A simple toast component for Svelte.
<!-- routes/+layout.svelte -->
<script>
import { Toasts } from 'svoast';
</script>
<Toasts />
<!-- routes/settings/+page.svelte -->
<script>
import { toast } from 'svoast';
const save = () => {
toast.success('Successfully update your profile.');
};
</script>
<button on:click={save}>Save Changes</button>
View more information at: https://svoast.vercel.app
You can view all the changes at https://svoast.vercel.app/changelog
See the LICENSE file for license rights and limitations (MIT).
SVoast logo made by Bruce Wayyn.