Black Friday: 30% off Pro

Get 30% off

Scramble to Word

Preview

Customize

Cells8
Tick40ms
Lead6
Step2
Text size48px

Installation

npx shadcn@latest add https://uibrik.com/r/scramble-to-word.json
Adds the files to components/uibrik/scramble-to-word. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/scramble-to-word.

Usage

import { ScrambleToWord } from "@/components/uibrik/scramble-to-word/scramble-to-word";​<ScrambleToWord  play={0}  words={["BOARDING", "GATE 21", "ON TIME", "DEPARTED"]}  cells={8}  tick={40}  lead={6}  step={2}/>

Where to use Scramble to Word

  • Departure-board headlines

    A split-flap board scrambling to the next word evokes stations and airports.

  • Travel brands

    The board fits booking, transport and travel products.

    Pairs with Swap Fields

  • Rotating taglines

    Each flip reveals a new benefit with a familiar, readable effect.

    Pairs with Rolling Word

Props

ScrambleToWord
words
Type string[]
["BOARDING","GATE 21","ON TIME","DEPARTED"]
Cycled through, one per play.
cells
Type number
8
Number of cells on the board.
tick
Type number
40
Time between scramble frames.
lead
Type number
6
Frames of noise before the first cell locks.
step
Type number
2
Frames between cells locking.
playrequired
Type number
–
Each change plays the effect again; 0 shows its resting state.