Headline line by line

Each line slides up out of its own mask, just after the previous one.

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

import { LineReveal } from "@/components/fine-pieces/line-reveal";

export default function Example() {
  return (
    <div className="grid h-full min-h-[420px] content-center p-10">
      <LineReveal lines={["Soft hands,", <><em>sharp</em> lines,</>, "quiet hour."]} />
    </div>
  );
}