Skip to content
FreeText

Weight Wave

The weight of a variable font ripples with the cursor's proximity, letter by letter.

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

Free forever

MIT license, for personal and commercial projects. See installation

Weight

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

Props

PropTypeDefaultDescription
childrenstring"Weight"The text (line breaks are supported).
sizenumber112Letter size, in px.
familystring"Roboto Flex"Google Fonts family with a weight (wght) axis.
minWeightnumber100Weight of letters far from the cursor.
maxWeightnumber1000Weight of letters right under the cursor.
radiusnumber190Radius of influence of the cursor, in px.
idlebooleantrueWhen the cursor isn't near, a wave runs through the text on its own.
colorstring"#F4F5F7"Text color.

Installation

Install it

1Install the package

npm i furin-ui

2Import 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.

Dependencies

React
18 or later
Other libraries
none
License
MIT

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

Keep exploring

  • A word rolls vertically between options on a spring-loaded drum, and its pill changes width along with it.

    Text

  • Inflated metallic balloon letters that bounce and squash under the cursor.

    Text

  • Text that grows into crystal facets that catch the light.

    Text