svoast
TypeScript icon, indicating that this package has built-in type declarations

2.4.4 • Public • Published

A simple toast component for Svelte.


Usage

<!-- 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>

Docs

View more information at: https://svoast.vercel.app


Changelog

You can view all the changes at https://svoast.vercel.app/changelog


Licence

See the LICENSE file for license rights and limitations (MIT).


Credits

SVoast logo made by Bruce Wayyn.

Package Sidebar

Install

npm i svoast

Weekly Downloads

480

Version

2.4.4

License

none

Unpacked Size

26.1 kB

Total Files

17

Last publish

Collaborators

  • gibbu