@crazygl/hero-animated-text-reveal
v0.1.1
Published
Animated Text Reveal — A paragraph that unblurs and fades in word by word as the viewer scrolls — with an initial blur and initial opacity that mean even the un-revealed words sit softly on the page rather than… A customizable CrazyGL animated hero sectio
Maintainers
Readme
Hero made by @ybouane.
@crazygl/hero-animated-text-reveal
A paragraph that unblurs and fades in word by word as the viewer scrolls — with an initial blur and initial opacity that mean even the un-revealed words sit softly on the page rather than disappearing.
Demo
Install
npm install @crazygl/hero-animated-text-revealUsage
import AnimatedTextReveal from '@crazygl/hero-animated-text-reveal';
export default function Page() {
return (
<AnimatedTextReveal
text="This text unblurs and fades in word by word as you scroll."
initialBlur={3}
initialOpacity={0.15}
fadeDelay={0.02}
textColor="#ffffff"
/>
);
}Customise
- Content —
text(paragraph copy; Enter for hard line breaks), optionalctaLabel+onCTAClick(URL or function). - Reveal —
initialBlur,initialOpacity,fadeDuration, per-wordfadeDelay,fadeEasing;scrollStart/scrollEndwindow (scroll mode) orautoplaySeconds(none mode). - Typography —
textColor,textAlign,fontSize,lineHeight,letterSpacing,maxWidth,headingFontFamily,headingFontWeight. - Backdrop —
transparentBackground,bgColor, accent glow (accentColor,accentStrength) andvignetteStrength.
Best for
- Brand mission statements and manifesto sections
- Premium SaaS hero stories and agency landing pages
- In-page case-study openers where "coming into focus" is the message
This hero is part of CrazyGL, a collection of production-ready WebGL, canvas, 3D, and typography effects. Every CrazyGL hero ships with an agent-ready SKILL.md file that helps developers and coding agents adapt the effect into custom landing pages and interactive experiences.
