FreeText
Decipher Text
Text that appears scrambled and settles letter by letter, on mount or on hover. Made for headlines and labels.
- Plan
- Free · MIT
- Dependencies
- React only
- Props
- 10 (8 adjustable)
Free forever
MIT license, for personal and commercial projects. See installation
Decode the impossible
Made with Furin: Pill Nav · Metal Button · Copy Morph
Props
| Prop | Type | Default | Description |
|---|---|---|---|
text | string | "Decipher the message" | Final text to reveal. |
speed | number | 16 | Letters that settle per second. |
delay | number | 0 | Milliseconds of scrambling before the first letter settles. |
scrambleChars | string | "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789#$%&*+<>/?!" | Alphabet the random characters are drawn from. |
revealDirection | "left" | "right" | "center" | "random" | "left" | Where letters start to settle: "left", "right", "center" or "random". |
trigger | "mount" | "cursor" | "both" | "both" | When it deciphers: "mount" (on mount), "cursor" (on hover) or "both". |
color | string | "inherited" | Color of the letters that have already settled (inherits the text color by default). |
scrambleColor | string | "dimmed text" | Color of the letters still scrambling (defaults to the same text, dimmed). |
className | string | "" | Extra CSS class for the container. |
style | CSSProperties | "{}" | Inline styles for the container (size and font go here). |
Installation
Install it
1Install the package
npm i furin-ui2Import it
import { DecipherText } 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
Magnetic Letters
FreeEvery letter is pulled toward the cursor by a bouncy spring, tinting and growing as it gets close.
Text