DocsSplit Flap Display

Split Flap Display

A premium split-flap display component inspired by vintage airport departure boards and retro mechanical displays. Features realistic flip animations, staggered character reveals, and configurable indicator strips.

Installation

pnpm dlx shadcn@latest add @componentry/split-flap-display

Usage

import { SplitFlapDisplay } from "@/components/ui/split-flap-display"

<SplitFlapDisplay
  text="HELLO WORLD"
  columns={14}
  size="lg"
/>

API Reference

PropTypeDefault
textstring

Simple text to display in a single row.

—
rowsSplitFlapRow[]

Array of { label, value } objects for a multi-row dashboard board.

—
columnsnumber

Total number of character cells per row.

14
size"sm" | "md" | "lg"

Size variant for the cells.

"md"
accentColorstring

Color of the side indicator strips.

"#22c55e"
showIndicatorsboolean

Whether to show the colored indicator strips on each row.

true
staggerDelaynumber

Delay in ms between each character starting its flip animation.

30
flipSpeednumber

Speed in ms per character flip step.

35
classNamestring

Additional CSS classes for the outer container.

—

Keep in mind

This component is inspired by various open-source projects and patterns. Please verify licenses and implementation details before using in production.

Need a custom component?

I build bespoke UI components & websites tailored to your brand.

DM me on X
PreviousSpiral 3D SliderNextSticky Scroll Cards