NudgeUI

Toast Playground

Configure a toast notification and see it live - then copy the generated code snippet.

Style Mode: Tailwind CSS- code snippet updates live as you change options below

Configuration

0.5s10s

Time before the toast auto-dismisses

(toast) => void

Function slot - wire this in your code

Live Preview

Click "Add Toast" to trigger the notification

Toast Preview

Your changes have been saved successfully.

toast.success() - tailwind