the toast lib Astro deserved.
Beautiful, zero-dependency toast notifications for Astro.
No framework. No noise. Just bread. π
A minimal toast library, built for Astro.
Most toast libraries assume you're in React, Vue, or Svelte land. Toastro was built from scratch for Astro β no framework adapter needed, no extra runtime overhead, no opinions about your stack.
Drop <Toaster /> into your layout once, call window.showToast() from anywhere. That's it.
Build your toast.
Configure from scratch or pick a ready-made example. Click to fire.
Everything you need.
Nothing you don't.
Built for Astro from the ground up β minimal by design, flexible by nature.
Pure web platform APIs. No install bloat, no supply-chain risk.
~2 kb gzipped
No imports needed β available globally once <ToastContainer /> is mounted.
Animation adapts to each corner automatically.
gzipped Β· no framework overhead
Toastro reads your existing CSS variables automatically. Drop it in and it already looks right β no extra config needed.
Use, modify, and distribute β personal or commercial projects. No strings attached.
MIT License
Free to use, modify, and distribute.
MIT License β Copyright (c) 2026 toastro contributors
Permission is hereby granted, free of charge, to use, copy, modify, merge, publish, and distribute the Software without restriction, provided that the above copyright notice and this permission notice are included in all copies.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND. Ready to toast?
One install. One component. Beautiful notifications everywhere.