Bundui.io

Toast with Action Button

Buttons 1

About

A button that triggers a Sonner toast notification containing an inline action button to follow up on the completed task.

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

Code

How Toast with Action Button 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/toast11";
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-10">
      <ToastComponent />
      <Toaster />
    </div>
  );
}

Dependencies

More by Bundui.io

View all
  • Fluid particles background

    Fluid particles background

    780
  • Floating paths

    Floating paths

    656
  • Text Gradient Scroll

    Text Gradient Scroll

    621
  • Stars

    Stars

    545
  • Image Comparison

    Image Comparison

    429
  • Magnetic Button

    Magnetic Button

    404
  • Marquee Effect

    Marquee Effect

    323
  • Wavy

    Wavy

    201

More in Buttons

View all
  • Texture Button

    Texture Button

    98
  • Button

    Button

    1
  • Button

    Button

    68
  • Eclipse Button

    Eclipse Button

    3
  • Button

    Button

    65
  • App Store Button

    App Store Button

    459
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Base Button

    Base Button

    4