Skip to Content
Kokonut UI

TX-10TextsNew, October 22, 2026

Split Flap Text

Departure-board lettering for headlines and status lines. Each tile flips only as far as its new letter, on a hinge, a beat after its neighbour.

Install with
no extra packages

PROKinetic Type Hero and more like it are in Kokonut UI Pro

Installation

Split Flap Text is a free, open-source React component in the Kokonut UI Texts collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/split-flap-text.tsx, so the code is yours to change.

npx shadcn@latest add @kokonutui/split-flap-text

Usage

import SplitFlapText from "@/components/kokonutui/split-flap-text";

export default function Example() {
  return <SplitFlapText />;
}

Props

text
string

Show this text. Leave out to cycle through words.

words
string[]Default ["NOW BOARDING", "GATE 12", "ON TIME", "LAST CA…

Lines to cycle through when text isn't set.

interval
numberDefault 3800

Time each word stays up, in ms.

length
number

Tiles always shown, so the board doesn't change width. Defaults to the longest word.

className
string

Extra classes for the root element.

tileClassName
string

Classes for each tile, to recolor the board.

Dependencies

NeedsVersionComes from
cn from lib/utils.tsshadcn init
React19Your app
Tailwind CSS4Your app

No provider, font or global CSS to set up: the file works as soon as it lands.