A prismatic hairline on glass that sweeps once when new results land.
Every shadcn style · one file
v2.0 · Updated Oct 13pnpm dlx shadcn@latest add https://notchset.dev/r/prism-edge.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/prism-edge.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 { useArrival } from "@/lib/notchset/living";
import { PrismEdge } from "@/components/ui/notchset/prism-edge";
export default function PrismEdgeDemo() {
/* a new id is new results: the edge sweeps once, then rests */
const [n, setN] = React.useState(1);
const [sweep, swept] = useArrival(`set-${n}`);
return (
<section className="relative isolate flex w-full max-w-[380px] flex-col gap-3 rounded-[var(--ns-radius-card)] bg-[var(--ns-glass)] p-6 [box-shadow:var(--ns-lit-edge),var(--ns-glass-shadow)] backdrop-blur-[var(--ns-glass-blur)]">
<PrismEdge sweep={sweep} onSwept={swept} />
<span className="text-[length:var(--ns-text-small)] text-[var(--ns-ink-2)]">Lipid panel · Northside Lab</span>
<p className="m-0 font-[family-name:var(--ns-font-display)] text-[19px] leading-[1.3] text-[var(--ns-ink)]">5 results in: 4 read cleanly, 1 to check.</p>
<Button className="self-start" onClick={() => setN((x) => x + 1)}>
New results
</Button>
</section>
);
}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/prism-edge.json https://notchset.dev/r/button.jsoncomponents/ui/notchset/prism-edge.tsx
sweepfalse
booleanplay the one sweep (new results landed)
onSwept–
() => voidthe sweep ended (or, under less motion, wasn't played)
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.