Sean Hello

Merge PR Toast

Component 1

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>
  );
}

Dependencies

More by Sean Hello

View all
  • 3D Testimonails

    3D Testimonails

    3.3K
  • Line Charts 9

    Line Charts 9

    637
  • Alert

    Alert

    492
  • Area Charts 1

    Area Charts 1

    385
  • Line Charts 6

    Line Charts 6

    384
  • Scroll Area

    Scroll Area

    376
  • Area Charts 2

    Area Charts 2

    317
  • Navigation Menu

    Navigation Menu

    305

Explore more

Part of ReUI — browse the full library on 21st.dev.