Skip to content

Soft Bento

Toaster

Renders the toast store: put <Toaster /> once in the root layout and call toast() from any client code.

Live, interactive React component · light themeResponsive

About the Soft Bento Toaster

Renders the toast store: put <Toaster /> once in the root layout and call toast() from any client code. Only needed when the site calls toast(); no kit component does on its own. Shows the newest limit toasts in a stack that never overlaps (the toast at the screen edge is full size, each one farther away steps back until the stack is hovered or focused; danger toasts sit nearest the edge), runs their timers (paused on hover, focus inside and while the tab is hidden), and gives each a close button and an optional action. Danger toasts are role="alert", the rest role="status". toast is re-exported from this file. Client component.

It is part of Soft Bento. The style’s 92 pieces share one set of tokens, type and motion, in a light and a dark theme, so whatever you take from it fits together.

To put it in your project, copy the prompt into Claude Code, OpenAI Codex or Cursor, or add the file and its styles by hand. The documentation walks through both.

The same piece, drawn for a different look. Open one to compare it live.

Neo-Brutal Toaster

Renders the toast store: put <Toaster /> once in the root layout and call toast() from any client code.

Noir Aurora Toaster

Renders the toast store: put <Toaster /> once in the root layout and call toast() from any client code.

Swiss Tech Mono Toaster

Renders the toast store as one ink chip in both themes, with a lime check tile: put <Toaster /> once in the root layout and call toast() from any client code.