Skip to content
FreeText

Split-Flap Board

A board of tiles that flip in 3D, character by character, until each phrase is formed, like the boards at a train station.

Plan
Free · MIT
Dependencies
React only
Props
11 (9 adjustable)

Free forever

MIT license, for personal and commercial projects. See installation

Welcome to Furin

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

Props

PropTypeDefaultDescription
phrasesstring[] | 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 "|".
valuestring""Fixed text: if you pass it, the board stops cycling and shows this; empty uses the phrases.
columnsnumber12Cells per row; long phrases wrap between words.
intervalnumber4200Milliseconds each phrase stays still before changing to the next.
flipSpeednumber70Milliseconds each flap flip takes.
sizenumber64Height of each cell in px at full size (it shrinks if the board doesn't fit).
gapnumber5Spacing between cells, in px.
tileColorstring"#111111"Color of the flaps.
letterColorstring"#FFFFFF"Color of the letters.
classNamestring""Extra CSS class for the container.
styleCSSPropertiesundefinedInline styles for the container.

Installation

Install it

1Install the package

npm i furin-ui

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

Dependencies

React
18 or later
Other libraries
none
License
MIT

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

Keep exploring

  • 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