What a task waits on, and what waits on it.
Every shadcn style · one file
v2.1 · Updated Oct 21pnpm dlx shadcn@latest add @notchset-pro/dependency-listpnpm dlx shadcn@latest add @notchset-pro/dependency-listNeeds 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 { Plus } from "lucide-react";
import { Button } from "@/components/ui/notchset/button";
import { StatusGlyph } from "@/components/ui/notchset/status-glyph";
import { DependencyList } from "@/components/ui/notchset/blocks/dependency-list";
export default function DependencyListDemo() {
const [by, setBy] = React.useState([{ id: "OM-14", title: "Sync queue survives app restart", state: "in progress", glyph: <StatusGlyph status="doing" label="Sync queue survives app restart" /> }]);
const [opened, setOpened] = React.useState<string | null>(null);
return (
<div className="flex w-full max-w-[520px] flex-col gap-2">
<DependencyList
blockedBy={by}
blocks={[{ id: "RP-71", title: "Offline banner on the day sheet", state: "To do", glyph: <StatusGlyph status="todo" label="Offline banner on the day sheet" /> }]}
outside="the payments provider's sandbox"
onOpen={setOpened}
onRemove={(id) => setBy((b) => b.filter((x) => x.id !== id))}
add={
<Button size="sm" variant="ghost" className="self-start" onClick={() => setBy((b) => (b.some((x) => x.id === "RP-57") ? b : [...b, { id: "RP-57", title: "Undo for route edits", state: "in progress", glyph: <StatusGlyph status="doing" label="Undo for route edits" /> }]))}>
<Plus />
Add a blocker
</Button>
}
/>
{opened && <p className="m-0 text-[length:var(--ns-text-small)] text-[var(--ns-ink-3)]">Opened {opened}</p>}
</div>
);
}This example also uses Button, Status glyph. This command installs them with it, so the example pastes as it is:
pnpm dlx shadcn@latest add @notchset-pro/dependency-list @notchset/button @notchset/status-glyphcomponents/ui/notchset/blocks/dependency-list.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
blockedBy–
DependencyItem[]Required.
blocks–
DependencyItem[]Required.
outside–
string | nullsomething outside the workspace it waits on, in words
onOpen–
(id: string) => voidRequired.
onRemove–
(id: string) => voidadd–
React.ReactNodeGive your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v2.1.0 · 2026-10-21
New: what a task waits on and what waits on it.
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.
Pro is in early access.