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.
pnpm dlx shadcn@latest add @componentry/split-flap-displayimport { SplitFlapDisplay } from "@/components/ui/split-flap-display"
<SplitFlapDisplay
text="HELLO WORLD"
columns={14}
size="lg"
/>| Prop | Type | Default |
|---|---|---|
text | stringSimple text to display in a single row. | — |
rows | SplitFlapRow[]Array of { label, value } objects for a multi-row dashboard board. | — |
columns | numberTotal number of character cells per row. | 14 |
size | "sm" | "md" | "lg"Size variant for the cells. | "md" |
accentColor | stringColor of the side indicator strips. | "#22c55e" |
showIndicators | booleanWhether to show the colored indicator strips on each row. | true |
staggerDelay | numberDelay in ms between each character starting its flip animation. | 30 |
flipSpeed | numberSpeed in ms per character flip step. | 35 |
className | stringAdditional CSS classes for the outer container. | — |
Keep in mind
Need a custom component?
I build bespoke UI components & websites tailored to your brand.