Stretch Word
- from @snapcn
Stretchy text animation: a repeating letter that stretches a word. A word that will not stop, and the line that follows it. "And more" says itself normally, then the letter you name starts repeating — moore, mooore, moooore — until the line is wider than the frame and drags itself off the left edge. Then the closing line arrives a word at a time, sliding back to centre as it goes. The repeat happens inside the word, not appended: "moooore" is somebody leaning on a key, "moreooo" is a typo.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @snapcn/stretch-wordLive preview
No live preview has been built for this component yet.
