Small shapes for showing where an agent run stands
pnpm dlx shadcn@latest add https://notchset.dev/r/status-glyph-run.jsonWhere a run stands, a shape each: queued to stale.
Every shadcn style · one file
Import it and pass your content. The props that matter most are listed next.
"use client";
import * as React from "react";
import { StatusGlyphRun, STATUS_GLYPH_RUN_LABELS, type StatusGlyphRunState } from "@/components/ui/notchset/status-glyph-run";
/*
* The run vocabulary at rest: the eight states a run can be in, each its own shape with its name under it. Running
* is the one lit state and turns; waiting on you pings once; the knob sets the size, or plays one run through its
* states (queued, running, waiting on you, running, done) so the arc is seen closing into its tick.
*/
const STATES: StatusGlyphRunState[] = ["queued", "running", "waiting", "paused", "done", "failed", "stopped", "stale"];
const RUN: StatusGlyphRunState[] = ["queued", "running", "waiting", "running", "done"];
const BEAT = 1400;
export default function StatusGlyphRunDemo() {
const size = "md" as "sm" | "md" | "lg";
const play = false;
return play ? <OneRun size={size} /> : (
<div data-slot="run-vocabulary" className="grid grid-cols-4 gap-x-6 gap-y-5 phone:grid-cols-2">
{STATES.map((s) => (
<div key={s} className="flex w-24 flex-col items-center gap-2">
<StatusGlyphRun state={s} label="Fixing the GitHub build" size={size} />
<span className="text-[length:var(--ns-text-small)] text-[var(--ns-ink-2)]">{STATUS_GLYPH_RUN_LABELS[s]}</span>
</div>
))}
</div>
);
}
/* one run through its states, once: the glyph changes in place, the name under it */
function OneRun({ size }: { size: "sm" | "md" | "lg" }) {
const [step, setStep] = React.useState(0);
React.useEffect(() => {
if (step >= RUN.length - 1) return;
const id = window.setTimeout(() => setStep((n) => n + 1), BEAT);
return () => window.clearTimeout(id);
}, [step]);
const s = RUN[step]!;
return (
<div className="flex w-40 flex-col items-center gap-2">
<StatusGlyphRun state={s} label="Fixing the GitHub build" size={size} />
<span className="text-[length:var(--ns-text-small)] text-[var(--ns-ink-2)]">{STATUS_GLYPH_RUN_LABELS[s]}</span>
</div>
);
}
const pill = "inline-flex min-h-8 items-center gap-2 rounded-[var(--ns-radius-full)] bg-[var(--ns-raised)] px-3 text-[length:var(--ns-text-small)] text-[var(--ns-ink)] shadow-[var(--ns-bezel)]";
/* at work: three run pills in a header, held still as At work always is */
export function AtWork() {
return (
<div data-ns-asleep="" className="flex flex-wrap justify-center gap-2">
<span className={pill}>
<StatusGlyphRun state="running" label="Fixing the GitHub build" />
Fixing the GitHub build
<span className="tabular-nums text-[var(--ns-ink-3)]">0:06</span>
</span>
<span className={pill}>
<StatusGlyphRun state="waiting" label="Approve git push" />
Waiting on you
</span>
<span className={pill}>
<StatusGlyphRun state="stopped" label="Updating Airtable contacts" />
Stopped by you
</span>
</div>
);
}"use client";
import * as React from "react";
import { StatusGlyphRun, STATUS_GLYPH_RUN_LABELS, type StatusGlyphRunState } from "@/components/ui/notchset/status-glyph-run";
/*
* The run vocabulary at rest: the eight states a run can be in, each its own shape with its name under it. Running
* is the one lit state and turns; waiting on you pings once; the knob sets the size, or plays one run through its
* states (queued, running, waiting on you, running, done) so the arc is seen closing into its tick.
*/
const STATES: StatusGlyphRunState[] = ["queued", "running", "waiting", "paused", "done", "failed", "stopped", "stale"];
const RUN: StatusGlyphRunState[] = ["queued", "running", "waiting", "running", "done"];
const BEAT = 1400;
export default function StatusGlyphRunDemo() {
const size = "md" as "sm" | "md" | "lg";
const play = false;
return play ? <OneRun size={size} /> : (
<div data-slot="run-vocabulary" className="grid grid-cols-4 gap-x-6 gap-y-5 phone:grid-cols-2">
{STATES.map((s) => (
<div key={s} className="flex w-24 flex-col items-center gap-2">
<StatusGlyphRun state={s} label="Fixing the GitHub build" size={size} />
<span className="text-[length:var(--ns-text-small)] text-[var(--ns-ink-2)]">{STATUS_GLYPH_RUN_LABELS[s]}</span>
</div>
))}
</div>
);
}
/* one run through its states, once: the glyph changes in place, the name under it */
function OneRun({ size }: { size: "sm" | "md" | "lg" }) {
const [step, setStep] = React.useState(0);
React.useEffect(() => {
if (step >= RUN.length - 1) return;
const id = window.setTimeout(() => setStep((n) => n + 1), BEAT);
return () => window.clearTimeout(id);
}, [step]);
const s = RUN[step]!;
return (
<div className="flex w-40 flex-col items-center gap-2">
<StatusGlyphRun state={s} label="Fixing the GitHub build" size={size} />
<span className="text-[length:var(--ns-text-small)] text-[var(--ns-ink-2)]">{STATUS_GLYPH_RUN_LABELS[s]}</span>
</div>
);
}
const pill = "inline-flex min-h-8 items-center gap-2 rounded-[var(--ns-radius-full)] bg-[var(--ns-raised)] px-3 text-[length:var(--ns-text-small)] text-[var(--ns-ink)] shadow-[var(--ns-bezel)]";
/* at work: three run pills in a header, held still as At work always is */
export function AtWork() {
return (
<div data-ns-asleep="" className="flex flex-wrap justify-center gap-2">
<span className={pill}>
<StatusGlyphRun state="running" label="Fixing the GitHub build" />
Fixing the GitHub build
<span className="tabular-nums text-[var(--ns-ink-3)]">0:06</span>
</span>
<span className={pill}>
<StatusGlyphRun state="waiting" label="Approve git push" />
Waiting on you
</span>
<span className={pill}>
<StatusGlyphRun state="stopped" label="Updating Airtable contacts" />
Stopped by you
</span>
</div>
);
}components/ui/notchset/status-glyph-run.tsx
LevelAtom: uses no other piece.
Made ofNothing else from the library: the foundation alone.
Free, 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.
state–
StatusGlyphRunStatewhere the run stands
label–
stringwhat the run is doing (or what the glyph stands for), read with the state
labels–
Partial<StatusGlyphRunLabels>each state's name and the sentence it is read as, over the English defaults
size"md"
keyof typeof PXsm 12px (a dense row), md 14px (a row or a pill, the default), lg 18px (a card's lead)
Three usesa background run's pill in a header · a list of an agent's tasks · an import's row in a jobs table
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v1.0.0 · 2026-11-09
Released free with the Notchset system.