Toast Anchor Demo

Download Back To CSSScript.Com

A notification library for Vanilla JS and React with anchored toasts, inline confirm dialogs, and modal overlays.
Vanilla JS
Zero Dependencies
No Build Needed

Toast Types

Standard notifications with description, action, progress, and sound.

Positions

Trigger the same toast at any screen edge.

Anchored Toasts

Tooltip-style notifications pinned to elements.

Top
Bottom
Left
Right

Anchored Confirm

Inline confirmation with callback hooks.

Modal Confirm

Promise-based modal dialog with keyboard support.

Promise Toast

Track async work with loading, success, or error states.

Dismiss Control

Programmatic dismiss and global clear.

Persistent toast: none

Theme Switch

Live global configuration switch.

Theme changes call configure() globally.