Whirlwind
A paragraph that arrives on the wind. A tornado made of its own letters spins up on the first word and travels along the lines; letters ride down the funnel as their turn comes and are flung out of its foot into place, in reading order, so the text writes itself in a storm. Afterwards, point at a sentence and its letters lift into a small twister that follows the pointer, then settle back.
How It Works
Each letter's resting place is measured once. Every letter gets a turn in reading order; it joins the top of the funnel a while before (60% of the reveal), and its height in the funnel is set by how long it has left to wait, so it rides down as its turn comes, lingering in the wide top and speeding down the throat. The funnel is a spine that rises from the foot and bends toward the top, swaying, with a radius that flares like a trumpet; letters go round it faster the lower they are, drawn smaller and fainter round the back. The foot eases toward the letter being set and the top follows more slowly, up to a limit, so it bends but never lies down. At its turn a letter is flung out of the foot along its spin and curves down into its place. On hover, the sentence's letters form a small twister of their own at the pointer and ease home when it leaves.
Use It
Install it with shadcn, or copy the file into your components folder, then use it like this. Change a setting in the demo and the example picks it up. Works with Next.js (App Router) and any React 19 project on Tailwind CSS v4.
npx shadcn@latest add @reacthive/whirlwind<Whirlwind text={essay} className="font-serif text-4xl" />- text is plain text; a blank line starts a new paragraph, and sentences are found by their full stops. Style it like any paragraph: size, font and colour come from className.
- It plays once, when it comes into view. duration is how long the twister takes to set the whole text down; width is how wide its top is, as a share of the text's width.
- Every letter is its own span, so keep it to a few short paragraphs, a few hundred letters. Words never break across lines, and screen readers read whole words.
- With reduced motion the text is simply there. No packages: one requestAnimationFrame loop moving the letters.
More Text

Shoal
Text

Mercury Clock
Text

Fluid Type
Text
Your Next Site Starts with a Live Demo.
Click around first. What you see is exactly what you download.