FreeText
Blur Number
A number whose digits roll to the new value with vertical motion blur, one after another.
- Plan
- Free · MIT
- Dependencies
- React only
- Props
- 12 (10 adjustable)
Free forever
MIT license, for personal and commercial projects. See installation
$12,480
Made with Furin: Pill Nav · Metal Button · Copy Morph
Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | "auto" | The number to display. Each digit rolls when it changes. Without a value, it cycles through the samples on its own. |
samples | number[] | "[12480, 3907, 58213, 842, 27650, 9164]" | Values it cycles through on its own when no value is passed. |
interval | number | 2.6 | Seconds between changes in automatic mode. |
prefix | string | "$" | Fixed text before the number. |
suffix | string | "" | Fixed text after the number. |
decimals | number | 0 | Number of decimal digits. |
locale | string | "en-US" | Locale used for the separators (for example es-MX). |
size | number | 96 | Font size, in px. |
maxBlur | number | 9 | Maximum vertical blur, in px, at top speed. |
stagger | number | 55 | Milliseconds of delay between a digit and the one to its left. |
color | string | "#F4F5F7" | Color of the number. |
accent | string | "#7CF5C6" | Color the digits take while they roll. |
Installation
Install it
1Install the package
npm i furin-ui2Import it
import { BlurNumber } 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.