@crazygl/hero-pro-text-type-effect
v0.1.1
Published
Pro Text Type Effect — A pro-grade typewriter: cycles through multiple strings with variable per-character speed, fluid font sizing (clamp), per-line gradient fills, and a choice of cursor characters from block to slug… A customizable CrazyGL animated her
Maintainers
Readme
Hero made by @ybouane.
@crazygl/hero-pro-text-type-effect
A pro-grade typewriter: cycles through multiple strings with variable per-character speed, fluid font sizing (clamp), per-line gradient fills, and a choice of cursor characters from block to slug to bar.
Demo
Install
npm install @crazygl/hero-pro-text-type-effectUsage
import ProTextTypeEffect from '@crazygl/hero-pro-text-type-effect';
export default function Page() {
return (
<ProTextTypeEffect
lines={[
'Hello, reference folks!',
'This is the ultimate typing text component',
'Check out what all you can do from the panel on the right →',
]}
variableSpeed
cursorChar="▋"
useGradientFill
/>
);
}lines may also be a single \n-separated string (matches the customizer textarea).
Customise
- Content —
lines(cycled strings),subheading,ctaLabel,onCTAClick(URL or function). - Typing —
loop,variableSpeed,typingMin/typingMax(or constanttypingSpeed),deletingSpeed,startDelay,pauseDuration. - Cursor —
showCursor,cursorChar,cursorColorMode,cursorBlinkSpeed,hideCursorWhileTyping. - Sizing —
sizingMode(fluidclamp vsfixed),fluidMin/fluidMax/fluidScale, orfontSize. - Typography —
useGradientFillwithfillColor1/fillColor2,textColor,letterSpacing,headingFontFamily,headingFontWeight. - Backdrop —
bgColor,accentColor/accentStrengthbloom,vignetteStrength,transparentBackground.
Best for
- Marketing pages juggling several value props in one hero slot.
- SaaS product heroes ("All your stack. One dashboard. Zero ops.").
- AI tool homepages with rotating use-cases.
- Any landing page that says "we do X, Y, and Z."
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.
