Sakani

Toast

A transient notification. Presentational only: queueing, timing, and positioning stay with your app.

Changes saved

Statuses

Deployed to production
v0.3.3 is live.
Scheduled maintenance
Tonight, 01:00–02:00 UTC.

Dismissible

The close button is tied to onDismiss: no handler, no button. A toast that auto-expires doesn't need one.

Two seats left on your plan

Building a queue

There's no provider or toast() function here on purpose: stacking rules, timers, and where they appear differ enough per app that owning the list yourself is simpler than configuring someone else's.

Each one clears itself after 4s.

Props

PropTypeDefaultDescription
status'success' | 'error' | 'info''info'Sets the leading icon and its tint.
titlestringHeadline text.
descriptionstringSupporting line under the title.
onDismiss() => voidFires when the x is clicked. The button only renders if this is set.