Bundui.io

Sonner Success Toast

Buttons 11

About

A button that triggers a success toast notification with a title and description using Sonner.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Sonner Success Toast to your project and fits it to your theme.

Code

How Sonner Success Toast is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import ToastComponent from "@/components/ui/toast2";
import { Toaster } from "sonner";

export default function ToastDemo() {
  return (
    <div className="bg-background text-foreground flex min-h-[350px] w-full items-center justify-center p-8">
      <ToastComponent />
      <Toaster />
    </div>
  );
}

Dependencies

More by Bundui.io

View all
  • Fluid particles background

    Fluid particles background

    846
  • Floating paths

    Floating paths

    715
  • Text Gradient Scroll

    Text Gradient Scroll

    656
  • Stars

    Stars

    569
  • Image Comparison

    Image Comparison

    429
  • Magnetic Button

    Magnetic Button

    412
  • Marquee Effect

    Marquee Effect

    342
  • Wavy

    Wavy

    229

More in Buttons

View all
  • Button

    Button

    20
  • Button

    Button

    3
  • Button Group

    Button Group

    18
  • Button

    Button

    149
  • Icon Label Subtext Button

    Icon Label Subtext Button

    69
  • Button

    Button

    9
  • Button

    Button

    37
  • Texture Button

    Texture Button

    113