A row your action adds grows in; one you remove folds away.
Every shadcn style · one file
v2.0 · Updated Oct 13pnpm dlx shadcn@latest add https://notchset.dev/r/reveal.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/reveal.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 { Button } from "@/components/ui/notchset/button";
import { Reveal } from "@/components/ui/notchset/reveal";
export default function RevealDemo() {
const [cc, setCc] = React.useState(false);
return (
<div className="flex w-full max-w-md flex-col gap-2">
<Button size="sm" className="self-start" onClick={() => setCc(!cc)}>
{cc ? "Remove Cc" : "Add Cc"}
</Button>
<div className="rounded-[var(--ns-radius)] text-[length:var(--ns-text-small)] shadow-[inset_0_0_0_1px_var(--ns-line)]">
<div className="px-3 py-2">
<span className="text-[var(--ns-ink-3)]">To</span> Kevin Ito
</div>
<Reveal open={cc}>
<div className="border-t border-[var(--ns-line-soft)] px-3 py-2">
<span className="text-[var(--ns-ink-3)]">Cc</span> Priya Shah
</div>
</Reveal>
<div className="border-t border-[var(--ns-line-soft)] px-3 py-2 text-[var(--ns-ink-3)]">Subject: Re: Order form</div>
</div>
</div>
);
}This example also uses Button. This command installs them with it, so the example pastes as it is:
pnpm dlx shadcn@latest add https://notchset.dev/r/reveal.json https://notchset.dev/r/button.jsoncomponents/ui/notchset/reveal.tsx
open–
booleanRequired.
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.
The same file, at work in a finished app. Open it live and find it on its pages.