Text Chroma Reveal

A chromatic ribbon sweep that paints each of your headlines cleanly into view.

textchromarevealgradientspectrumheadlineanimationtypography
Text Chroma Reveal component preview

Props

PropTypeDefaultDescription
textstring | string[]-Phrase or rotating phrases to reveal.
as"span" | "p" | "div" | "h1"–"h6""span"Tag rendered as the outer element.
colorsstring[]spectrumChromatic ribbon colors across the reveal band.
textColorstring"currentColor"Final revealed text color.
direction"ltr" | "rtl""ltr"Sweep direction across the text.
durationnumber1.5Reveal sweep duration in seconds.
delaynumber0Delay before the sweep starts, in seconds.
repeatbooleanfalseCycle phrases / replay after hold + fade.
holdDurationnumber1Hold fully revealed before fading, in seconds.
fadeDurationnumber0.6Fade-out duration between cycles, in seconds.
repeatDelaynumber0.5Pause after fade before the next sweep, in seconds.
fixedWidthbooleanfalseLock width to the longest phrase so rotating text does not shift layout.
startOnViewbooleantrueWhen true, wait for viewport entry. When false, play on mount.
oncebooleantruePlay only once when using viewport trigger.