@crazygl/hero-animated-flow-text
v0.1.1
Published
Animated Flow Text — Each word rides its own sine wave with a per-letter phase offset — the line reads like a banner caught in a slow current. A customizable CrazyGL animated hero section — WebGL, React, drop-in.
Maintainers
Readme
Hero made by @ybouane.
@crazygl/hero-animated-flow-text
Each word rides its own sine wave with a per-letter phase offset — the line reads like a banner caught in a slow current.
Demo
Install
npm install @crazygl/hero-animated-flow-textUsage
import AnimatedFlowText from '@crazygl/hero-animated-flow-text';
export default function Page() {
return (
<AnimatedFlowText
heading="the current carries the type"
amplitude={18}
speed={0.9}
textColor="#ffffff"
/>
);
}Customise
- Content —
heading, optionalsubheading. - Flow —
amplitude(wave height in px),wavelength(chars per wave),speed,rotateMax(per-letter tilt in degrees). - Typography —
textColor,subColor,fontSize,headingFontFamily(Google font),headingFontWeight. - Backdrop —
transparentBackground,bgColor.
Best for
- SaaS and product landing pages wanting a lively, motion-forward headline
- Portfolio and agency sites with a playful, type-driven personality
- Event, launch or campaign pages where the wording should feel alive
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.
