A record's label-value list and the sections that fold.
Every shadcn style · one file
v2.0 · Updated Oct 13pnpm dlx shadcn@latest add @notchset-pro/record-detailspnpm dlx shadcn@latest add @notchset-pro/record-detailsNeeds 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 * as React from "react";
import { FileText } from "lucide-react";
import { BuyingGroup, DetailSection, RecordDetails } from "@/components/ui/notchset/blocks/record-details";
export default function RecordDetailsDemo() {
const [folded, setFolded] = React.useState<Record<string, boolean>>({ files: true });
const fold = (k: string) => () => setFolded({ ...folded, [k]: !folded[k] });
return (
<div className="w-full max-w-sm">
<RecordDetails
rows={[
{ key: "src", label: "Source", value: "Inbound · webinar" },
{ key: "touch", label: "Last touch", value: "Today" },
{ key: "renew", label: "Renewal date", value: "Jan 31, 2027" },
]}
>
<DetailSection title="Buying group · 3" folded={!!folded.group} onToggle={fold("group")}>
<BuyingGroup
onOpen={() => {}}
people={[
{ id: "1", name: "Kevin Ito", title: "VP Operations", role: "Champion", key: true },
{ id: "2", name: "Priya Shah", title: "CFO", role: "Economic buyer", key: true },
{ id: "3", name: "Tom Varga", title: "IT Security", role: "Evaluator" },
]}
/>
</DetailSection>
<DetailSection title="Files · 2" folded={!!folded.files} onToggle={fold("files")}>
<ul className="m-0 flex list-none flex-col gap-1.5 p-0">
{["order-form-v3.pdf", "security-questionnaire.xlsx"].map((f) => (
<li key={f} className="flex items-center gap-2">
<FileText className="size-3.5 text-[var(--ns-ink-3)]" aria-hidden />
{f}
</li>
))}
</ul>
</DetailSection>
</RecordDetails>
</div>
);
}components/ui/notchset/blocks/record-details.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
title"Details"
stringrows–
DetailRow[]Required.
onClose–
() => 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.
The same file, at work in a finished app. Open it live and find it on its pages.
Records and tables. Lists you scan and records you work in: a table, its views and filters, and a record with its details.
5 free · 3 ProSee the Records and tables kit
Pro is in early access.