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.
npx shadcn@latest add https://mizzle.saddy.me/r/letter-swap.jsonSign in or get a license at mizzle to see its source and install it.