Redpanda UI
RC
Redpanda UI

Sonner

An opinionated toast component for React.

Made by emilkowalski_

Powered by

Loading component...

When to use

Sonner provides toast notifications for user feedback. Use this decision tree:

Installation

Usage

import { toast } from "sonner"
toast("Event has been created.")
toast.success("Success", {
    description: "Profile updated successfully",
})
toast.error("Terrible, terrible damage", {
    description: "Failed to update profile",
}) 

Credits

  • We use Sonner for the sonner (toast) component.
  • We take our inspiration from Shadcn UI for the sonner (toast) style.

Built by malinskibeniamin. The source code is available on GitHub.

On this page