Non-blocking toast messages that slide in, auto-dismiss, and stack neatly. Trigger one from anywhere with a single function call.
Double-click snippet.html to see it working in your browser. It’s plain HTML, CSS & JavaScript — no install, build, or server needed, and no external libraries.
Keep this folder inside your website project (or anywhere Claude Code can read it), then ask Claude something like:
Prefer to paste it yourself? Open snippet.html, copy the part you need, and tell Claude: “integrate this into [page], matching my site’s existing styles.”
snippet.html from the Toast-Notifications folder” — so it references the exact snippet.showToast('Your message', 'success' | 'error' | 'info') from anywhere in your code..toast-wrap (top / right), and recolor .toast--success / --error / --info.4000ms value in the script.