Isaiah

Sonner Toast

Component 6

About

A toast notification trigger button paired with a styled Sonner toaster for showing brief confirmation messages like "Draft synced".

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

Code

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

Usage.tsx

import PrimitiveSonner from "@/components/ui/primitive-sonner";

export default function PrimitiveSonnerDemo() {
  return (
    <div className="flex min-h-[240px] w-full items-center justify-center bg-background">
      <PrimitiveSonner />
    </div>
  );
}

Dependencies

More by Isaiah

View all
  • Agent Plan

    Agent Plan

    2.2K
  • Video Scroll Hero

    Video Scroll Hero

    1.4K
  • Voice Powered Orb

    Voice Powered Orb

    1.3K
  • Reveal Text

    Reveal Text

    1.1K
  • Leads Data Table

    Leads Data Table

    935
  • Portfolio Gallery

    Portfolio Gallery

    922
  • Message Dock

    Message Dock

    833
  • Ruler Carousel

    Ruler Carousel

    617