Skip to content
FreeText

Gust

A headline whose letters get thrown off when the cursor passes quickly and spring back into place.

Plan
Free · MIT
Dependencies
React only
Props
10 (8 adjustable)

Free forever

MIT license, for personal and commercial projects. See installation

Move the cursor fast

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
textstring"Let the wind carry them away"Headline text: every letter is a particle the wind can tear loose.
strengthnumber1Gust strength: how far and how fast the letters fly off; 0 turns the wind off.
thresholdnumber650Cursor speed (px/s) above which it blows; slower than that, nothing happens.
recoverynumber1.8Seconds a letter takes to return to its place.
radiusnumber150Reach of the gust around the cursor, in px.
spinnumber1How much the letters rotate as they fly; 0 keeps them from spinning.
colorstring"inherited"Letter color (inherits the text color by default).
accentstring"#E8452C"Color the letters take while flying (same as the text color to turn it off).
classNamestring""Extra CSS class for the container.
styleCSSPropertiesundefinedInline styles for the container (size and font go here).

Installation

Install it

1Install the package

npm i furin-ui

2Import it

import { Gust } from "furin-ui";

Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.

Dependencies

React
18 or later
Other libraries
none
License
MIT

Each file ships its own CSS: there's nothing else to install.

Keep exploring

  • Every letter is pulled toward the cursor by a bouncy spring, tinting and growing as it gets close.

    Text

  • Staggered lines that slide up from behind a mask, like a product launch intro.

    Text

  • Words melt into one another with a viscous blur-and-threshold transition and a liquid sheen.

    Text