Word Roller
FreeA word rolls vertically between options on a spring-loaded drum, and its pill changes width along with it.
Text
The weight of a variable font ripples with the cursor's proximity, letter by letter.
Free forever
MIT license, for personal and commercial projects. See installation
Made with Furin: Pill Nav · Metal Button · Copy Morph
| Prop | Type | Default | Description |
|---|---|---|---|
children | string | "Weight" | The text (line breaks are supported). |
size | number | 112 | Letter size, in px. |
family | string | "Roboto Flex" | Google Fonts family with a weight (wght) axis. |
minWeight | number | 100 | Weight of letters far from the cursor. |
maxWeight | number | 1000 | Weight of letters right under the cursor. |
radius | number | 190 | Radius of influence of the cursor, in px. |
idle | boolean | true | When the cursor isn't near, a wave runs through the text on its own. |
color | string | "#F4F5F7" | Text color. |
1Install the package
npm i furin-ui2Import it
import { WeightWave } 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.
Each file ships its own CSS: there's nothing else to install.
A word rolls vertically between options on a spring-loaded drum, and its pill changes width along with it.
Text