Intro letter by letter
On the first visit the name rises letter by letter, then the screen slides away.
UniversalUsed in production
Install
npx finepieces add letter-introOr with the shadcn CLI ›
npx shadcn@latest add https://finepieces.net/r/letter-intro.jsonexample.tsx
import { LetterIntro } from "@/components/fine-pieces/letter-intro";
export default function Example() {
return (
<LetterIntro word="NORD">
<img src={"/images/studio-2.webp"} alt="" className="absolute inset-0 h-full w-full object-cover opacity-70" />
<h3 className="absolute bottom-[26px] left-[30px] text-[40px] font-bold tracking-[-.05em] text-white">Studio Nord</h3>
</LetterIntro>
);
}