Headline word by word

Each word rises out of a mask, 45 ms after the previous one.

UniversalUsed in production
Install
npx finepieces add word-reveal
Or with the shadcn CLI ›
npx shadcn@latest add https://finepieces.net/r/word-reveal.json

import { WordReveal } from "@/components/fine-pieces/word-reveal";

export default function Example() {
  return (
    <div className="grid h-full min-h-[420px] content-center p-10">
      <WordReveal text="Rooms you only *truly* *know* after ten years." className="max-w-[12ch]" />
    </div>
  );
}