Letter Swap
- from @mizzle
- by mizzle <https://mizzle.saddy.me>
On hover each letter slides out and a copy slides in, one after another, optionally into a different word. Pure CSS: the stagger plays forward on enter and back on leave, and can be interrupted anywhere.
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 @mizzle/letter-swapComponent source
No live preview has been built for this component yet.
Registry dependencies1
- @mizzle/split-text
Packages0
No npm packages are installed with it.
