Claims with numbered chips that open the passage behind them.
Every shadcn style · one file
v2.0 · Updated Oct 13pnpm dlx shadcn@latest add @notchset-pro/sourcespnpm dlx shadcn@latest add @notchset-pro/sourcesNeeds 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 { SourcedText, Sources, type Segment, type Source } from "@/components/ui/notchset/blocks/sources";
const SOURCES: Source[] = [
{ n: 1, title: "Interview: Halden Logistics, 3 Oct", site: "Halden", url: "https://example.com/interviews/halden", passage: "Their ops lead was blunt about trials: the first hour decides it. If the team isn't in by lunch, the trial is over.", supports: "the first hour decides it" },
{ n: 2, title: "Interview: Brightwater Clinics, 7 Oct", site: "Brightwater", url: "https://example.com/interviews/brightwater", passage: "They stalled at billing. The admin couldn't invite anyone until a card was on file, so setup waited three days.", supports: "couldn't invite anyone until a card was on file" },
];
const SEGMENTS: Segment[] = [
{ text: "Teams said the first hour decides whether they stay.", cites: [1] },
{ text: "The step people got stuck on was connecting billing before inviting anyone.", cites: [2] },
{ text: "Overall, onboarding feels slower than competitors'.", unsupported: true },
];
export default function SourcesDemo() {
return (
<div className="flex max-w-[560px] flex-col gap-4">
<SourcedText segments={SEGMENTS} sources={SOURCES} />
<Sources sources={SOURCES} unsupported={1} />
</div>
);
}components/ui/notchset/blocks/sources.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
sources–
Source[]Required.
unsupported0
numberhow many sentences had no source, said in the footer
show3
numberGive 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.
Agent UI. An assistant people trust: ask, pick a model, watch the answer stream in with its receipt, and approve what it does.
4 free · 6 ProSee the Agent UI kit
Pro is in early access.