Mark a deal lost; say why in place, or Undo.
Every shadcn style · one file
v2.0 · Updated Oct 13pnpm dlx shadcn@latest add @notchset-pro/lose-gracefullypnpm dlx shadcn@latest add @notchset-pro/lose-gracefullyNeeds your registry key. Every components.json style gets the same files.
Works with React 18.3 or 19 on Tailwind CSS v4, in any shadcn project. What's tested
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Import it and pass your content. The props that matter most are listed next.
"use client";
import { LoseGracefully } from "@/components/ui/notchset/blocks/lose-gracefully";
const money = (v: number) => `$${Math.round(v).toLocaleString("en-US")}`;
export default function LoseGracefullyDemo() {
return (
<LoseGracefully
title="Open in Q4"
reasons={["Budget", "Timing", "Competitor", "No decision"]}
format={money}
className="w-full max-w-[480px]"
deals={[
{ id: "l1", company: "Sentry", color: "#362d59", title: "Annual platform", value: 96000 },
{ id: "l2", company: "Revolut", color: "#191c1f", title: "Rollout · 3 regions", value: 271000 },
{ id: "l3", company: "Dropbox", color: "#0061ff", title: "Team seats", value: 48000 },
{ id: "l4", company: "Webflow", color: "#146ef5", title: "Enterprise · 2-year", value: 215000 },
]}
/>
);
}components/ui/notchset/blocks/lose-gracefully.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
title–
stringRequired.
deals–
LoseDeal[]Required.
reasons–
string[]Required.
format–
(v: number) => stringRequired.
onLose–
(id: string, reason: string | null) => voidthe deal was lost; reason is null when skipped (called again when a reason follows)
onRestore–
(id: string) => voidGive your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v2.0.0 · 2026-10-13
Released with the Notchset system.
A marketing piece: made for marketing pages and launch posts, never inside a template.
Pro is in early access.