Playground

Nice Toaster

Install this pkg from NPM
1 2 3 4 5 6 7 8 9 10 11 12 13 14 <button onClick={() => toast.success('Saved successfully!', { description: '', hold: false, vibration: false, time: 5000, timer: false, notification: false, }) } > Show Advanced Toast </button>

Message

Description

Toast

Options

Vibration (Only for mobiles)

Notification (Only for desktop)

Hold (Prevent timeout)

Timer (Timeout progress bar)

Time in (Milliseconds)

1 2 3 4 5 6 <SetupNiceToaster settings={{ theme: "light", position: "top-center", template: "default", reverseOrder: true }} />

Theme

Templates

Positions

Order