Typewriter
FreeTypes, deletes and retypes phrases with a human rhythm, pauses on punctuation and a blinking cursor.
Text
A board of tiles that flip in 3D, character by character, until each phrase is formed, like the boards at a train station.
Free forever
MIT license, for personal and commercial projects. See installation
Made with Furin: Pill Nav · Metal Button · Copy Morph
| Prop | Type | Default | Description |
|---|---|---|---|
phrases | string[] | string | "Welcome to Furin|The cursor is the wind|Platform 3 at 18:45" | Phrases the board cycles through: an array, or a single string with the phrases separated by "|". |
value | string | "" | Fixed text: if you pass it, the board stops cycling and shows this; empty uses the phrases. |
columns | number | 12 | Cells per row; long phrases wrap between words. |
interval | number | 4200 | Milliseconds each phrase stays still before changing to the next. |
flipSpeed | number | 70 | Milliseconds each flap flip takes. |
size | number | 64 | Height of each cell in px at full size (it shrinks if the board doesn't fit). |
gap | number | 5 | Spacing between cells, in px. |
tileColor | string | "#111111" | Color of the flaps. |
letterColor | string | "#FFFFFF" | Color of the letters. |
className | string | "" | Extra CSS class for the container. |
style | CSSProperties | undefined | Inline styles for the container. |
1Install the package
npm i furin-ui2Import it
import { SplitFlap } 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.
Types, deletes and retypes phrases with a human rhythm, pauses on punctuation and a blinking cursor.
Text
The weight of a variable font ripples with the cursor's proximity, letter by letter.
Text
A word rolls vertically between options on a spring-loaded drum, and its pill changes width along with it.
Text