# scroll and swap text, 21st-danielpetho--fancy-components component by danie…

A text component that swaps the letters vertically on scroll. The trick here is similar to the Letter Swap Hover component—duplicate the text, then wrapping t

> Pagina: https://ui.eneawork.it/comp/21st-danielpetho--fancy-components/scroll-and-swap-text
> Markdown: https://ui.eneawork.it/comp/21st-danielpetho--fancy-components/scroll-and-swap-text.md

- Libreria: [21st-danielpetho--fancy-components](/components/lib/21st-danielpetho--fancy-components)
- Pagina HTML: https://ui.eneawork.it/comp/21st-danielpetho--fancy-components/scroll-and-swap-text

## Install

```bash
npx shadcn@latest add "https://ui.eneawork.it/api/registry/21st-danielpetho--fancy-components/scroll-and-swap-text.json?token=YOUR_TOKEN"
```

The registry endpoints are token-gated (create a free account in the app, then copy the registry token). The raw source is also readable at `/api/registry/<library>/<name>.json`.
