Sign the order form; the deal turns Won.
Every shadcn style · one file
v2.0 · Updated Oct 13pnpm dlx shadcn@latest add https://notchset.dev/r/sign-to-close.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/sign-to-close.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 { SignToClose } from "@/components/ui/notchset/blocks/sign-to-close";
import { Switch } from "@/components/ui/notchset/switch";
const money = (v: number) => `$${Math.round(v).toLocaleString("en-US")}`;
export default function SignToCloseDemo() {
const [fails, setFails] = React.useState(false);
return (
<div className="flex w-full max-w-[420px] flex-col gap-2">
<SignToClose
company="Stripe"
color="#635bff"
title="Expansion · EU region"
stage={{ label: "Proposal", color: "#7c3aed" }}
lines={[
{ label: "Platform · 120 seats", amount: 129600 },
{ label: "EU data residency", amount: 18000 },
{ label: "Onboarding", amount: 4400, once: true },
]}
signer="Ana Ruiz"
format={money}
/* resolve false and the ink stays, the pill doesn't move, and Retry is offered */
onSign={() => new Promise<boolean>((r) => setTimeout(() => r(!fails), 520))}
replay
/>
<label className="flex items-center justify-end gap-2 text-[length:var(--ns-text-small)] text-[var(--ns-ink-3)]">
Signing fails
<Switch checked={fails} onCheckedChange={setFails} aria-label="Make signing 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/sign-to-close.json https://notchset.dev/r/switch.jsoncomponents/ui/notchset/blocks/sign-to-close.tsx
company–
stringRequired.
color–
stringRequired.
title–
stringRequired.
stage–
{ label: string; color: string }the stage the deal sits in until it's signed
lines–
Line[]Required.
signer–
stringwho signs; the typed path starts from this name
format–
(v: number) => stringRequired.
onSign–
(sig: Signature) => Promise<boolean | void> | boolean | voidthe host's save; reject (or resolve false) to refuse it
dealId–
stringwhich deal this is; given another, the form starts open and the first deal's answer lands nowhere (left out, key the form by the deal)
replayfalse
booleana demo's "Sign again", which clears the signature and reopens the deal
Give 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.