Skip to main content
Himesh Dua

Component Preview

Click to trigger toast

Toast Notification

A flexible, motion-enhanced notification system with support for multiple screen positions and smooth entry/exit animations.

Framer Motion·Notification·Feedback UI

Dependencies

framer-motion

Accessibility and behavior

  • Messages are announced through a polite status region (role="status"), so screen readers hear routine confirmations.
  • It disappears after 3 seconds by default (the duration prop changes this). That suits routine confirmations only: an error, or anything that needs a response, should stay until dismissed. This component does not do that.
Crafted byHimesh Dua
GitHubHimeshDua
Deployed onVercel
StackNext.js · TypeScript · Tailwind CSS
LicenseMIT License