S
snapcn

Text Swap · snapcn

Text swap animation, rotating headline that replaces one line with another. Replaces one line of text with another using exit-then-enter scheduling, with five transition presets: fade-through, crossfade, shared-axis-y, shared-axis-z, and cut.

npx shadcn@latest add @snapcn/text-swap
Preview Text Swap on snapcn's site (opens in a new tab)
Loading the source for text-swap…

text-swap