Move a deal and the totals, quota bar and ring answer.
Every shadcn style · one file
v2.1 · Updated Oct 21pnpm dlx shadcn@latest add https://notchset.dev/r/quarter-drop.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/quarter-drop.jsonFree, no account or key. One command for every shadcn style. With the @notchset registry added, @notchset/<name> works too.
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 * as React from "react";
import { QuarterDrop } from "@/components/ui/notchset/blocks/quarter-drop";
import { Switch } from "@/components/ui/notchset/switch";
const k = (v: number) => `$${Math.round(v / 1000)}k`;
export default function QuarterDropDemo() {
const [fails, setFails] = React.useState(false);
return (
<div className="flex w-full max-w-[560px] flex-col gap-2">
<QuarterDrop
columns={[
{ key: "proposal", label: "Proposal" },
{ key: "negotiation", label: "Negotiation" },
{ key: "won", label: "Won" },
]}
deals={[
{ id: "q1", company: "Dropbox", color: "#0061ff", value: 48000, column: "negotiation" },
{ id: "q2", company: "Sentry", color: "#362d59", value: 96000, column: "negotiation" },
{ id: "q3", company: "Shopify", color: "#5e8e3e", value: 72000, column: "proposal" },
{ id: "q4", company: "Stripe", color: "#635bff", value: 152000, column: "won" },
]}
wonColumn="won"
quota={240000}
wonBefore={64000}
format={k}
/* the host's save: resolve false and the card goes home with Retry */
onMove={() => new Promise<boolean>((r) => setTimeout(() => r(!fails), 380))}
/>
<label className="flex items-center justify-end gap-2 text-[length:var(--ns-text-small)] text-[var(--ns-ink-3)]">
Saves fail
<Switch checked={fails} onCheckedChange={setFails} aria-label="Make saves fail" />
</label>
</div>
);
}This example also uses Switch. This command installs them with it, so the example pastes as it is:
pnpm dlx shadcn@latest add https://notchset.dev/r/quarter-drop.json https://notchset.dev/r/switch.jsoncomponents/ui/notchset/blocks/quarter-drop.tsx
columns–
{ key: string; label: string }[]Required.
deals–
DropDeal[]Required.
wonColumn–
stringthe column that counts as won
quota–
numberRequired.
wonBefore–
numberwhat was already won this quarter before these deals
format–
(v: number) => stringRequired.
onMove–
(id: string, to: string) => Promise<boolean | void> | boolean | voidthe host's save; reject (or resolve false) to refuse the move
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v2.1.0 · 2026-10-21
A late answer to an older move never restores obsolete move history.
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.