About
A dark, inverted toast notification with reviewer avatars and quick View/Merge action buttons for pull-request approval flows.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Merge PR Toast to your project and fits it to your theme.
Code
How Merge PR Toast is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { useEffect } from "react";
import Component from "@/components/ui/c-sonner-17";
import { toast, Toaster as SonnerToaster } from "sonner";
export default function ComponentDemo() {
useEffect(() => {
const id = setTimeout(() => {
const trigger = document.querySelector<HTMLButtonElement>(
"[data-pr-merge-toast-trigger]",
);
trigger?.click();
}, 300);
return () => clearTimeout(id);
}, []);
return (
<div className="flex min-h-[400px] w-full items-center justify-center bg-background">
<Component />
<SonnerToaster />
</div>
);
}








