Change a word into another letter by letter, keeping shared letters in place.
Import it and pass your content. The props that matter most are listed next.
"use client";
import * as React from "react";
import { TextMorph } from "@/components/ui/notchset/text-morph";
const STATES = ["QUEUED", "RUNNING", "PASSED"];
export function RunStatus() {
const [step, setStep] = React.useState(0);
React.useEffect(() => {
const t = setInterval(() => setStep((s) => (s + 1) % STATES.length), 2400);
return () => clearInterval(t);
}, []);
return <TextMorph value={STATES[step]} className="text-[92px]" />;
}value–
stringThe word.
as–
"headline" | "label"Condensed headline, or fixed mono cells for buttons.
ruler–
booleanTicks under each letter (headline default).
TextMorphdata-slot="text-morph"
The word.
components/ui/notchset/text-morph.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
pnpm dlx shadcn@latest add @notchset-pro/text-morphNeeds your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.
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.
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v1.0.0 · 2026-10-02
First release
Pro is in early access.