Back to AIX Effects LibraryQA Verified · Synced
Typography & Text/<SplitTextReveal />·Beginner

Split Text Reveal

A zero-CLS masked typography reveal wrapping each token in overflow-hidden boundaries with atomic word-wrapping protection on narrow screens.

Next.js 16+React 19TypeScriptTailwind CSSFramer Motion

Crafteveryframewithintent.

Switch Words/Glyphs granularity or adjust timing controls below.

Installation

npm install framer-motion
framer-motion^13.4.0

Powers GPU-composited span transforms and expo-out easing.

Usage

import { SplitTextReveal } from '@/components/effects/library/typography/SplitTextReveal'

<SplitTextReveal
  text="Kiến tạo từng khung hình có chủ đích."
  splitBy="words"
  duration={0.36}
  stagger={0.045}
  accentLastWords={2}
  accentColor="#536dfe"
/>

Props & API Reference

6 props
PropTypeDefaultDescriptionEffect
textstring(required)Display headline text to split and reveal.Determines token array length and sequential stagger timing.
splitBy'words' | 'chars''words'Granularity mode for splitting text tokens.Switches between word-level and capped character-level reveals.
durationnumber0.36Individual token animation duration in seconds.Scales entrance speed smoothly.
staggernumber0.045Delay step between consecutive words in seconds.Controls cascade wave tempo.
accentLastWordsnumber2Count of trailing words highlighted in accent color.Emphasizes key closing phrase.
accentColorstring'#536dfe'CSS color applied to highlighted trailing words.Colors highlighted emphasis words.

More in Typography & Text

View All 36 →
blur(12px) → 0px

Opticalclaritysharpeneddeliberatelywordbyword.

Click Refocus or adjust blur radius slider

Blur & Focus Reveal

Words lock sharply into view from initial Gaussian blur and micro-scale compression.

View Details
Interfaces shaped by
Precision

Kinetic Word Switcher

Smooth phrase rotator supporting vertical slide and optical blur swap transitions.

View Details