DocsLetter Cascade

Letter Cascade

A 3D split-flap text animation where letters flip with perspective depth, motion blur, and spring physics. Each character tilts back while its echo flips into view from below, creating a satisfying cascading wave.

Installation

pnpm dlx shadcn@latest add @componentry/letter-cascade

Dependencies: framer-motion clsx tailwind-merge

Usage

API Reference

PropTypeDefault
textstring

The text content to animate.

—
staggerDurationnumber

Delay in seconds between each letter's animation start.

0.04
staggerFrom"first" | "last" | "center" | number

Origin point of the stagger wave.

"first"
stiffnessnumber

Spring stiffness — higher values produce snappier motion.

220
dampingnumber

Spring damping — lower values produce bouncier motion.

16
triggerOnClickboolean

When true, the animation triggers on click instead of hover.

false
onComplete() => void

Callback fired when the full animation cycle completes.

—
classNamestring

Additional CSS classes for the container.

—
letterClassNamestring

CSS classes applied to each individual letter span.

—

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
PreviousKinetic Text RevealNextParticle Typography
HHoovveerr MMeeHover over the text
import { LetterCascade } from "@/components/ui/letter-cascade"
 
<LetterCascade
  text="Hover Me"
  className="text-4xl font-bold"
/>