A word that changes letter by letter on measured positions: shared letters glide to their new places, new ones drop in, old ones fall away, and a ruler of ticks travels with them.
pnpm dlx shadcn@latest add @beautiful-ui-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.
Import it and pass your content. The props that matter most are listed next.
import { TextMorph } from "@/components/ui/notchset/text-morph";
<TextMorph value={status} className="text-[92px]" />value–
stringThe word.
as–
"headline" | "label"Condensed headline, or fixed mono cells for buttons.
ruler–
booleanTicks under each letter (headline default).
components/ui/notchset/text-morph.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.