8000 GitHub - andogq/svoast: A simple toast component for Svelte.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andogq/svoast

 
 

Repository files navigation

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.

About

A simple toast component for Svelte.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 53.9%
  • TypeScript 34.1%
  • JavaScript 7.6%
  • HTML 2.6%
  • CSS 1.8%
0