@crazygl/hero-scrambleshuffle-text
v0.1.1
Published
Scramble Shuffle Text — A hybrid: letters first scramble into random glyphs, then physically shuffle position, then settle into their target — two effects in one timeline. A customizable CrazyGL animated hero section — WebGL, React, drop-in.
Maintainers
Readme
Hero made by @ybouane.
@crazygl/hero-scrambleshuffle-text
A hybrid: letters first scramble into random glyphs, then physically shuffle position, then settle into their target — two effects in one timeline.
Demo
Install
npm install @crazygl/hero-scrambleshuffle-textUsage
import ScrambleShuffleText from '@crazygl/hero-scrambleshuffle-text';
export default function Page() {
return (
<ScrambleShuffleText
phrase="CRAZYGL"
scrambleColor="#ff5c8a"
textColor="#ffffff"
loop
/>
);
}Customise
- Content —
phraseand thealphabetof glyphs cycled during the scramble. - Playback —
loop(replay vs. hold the final phrase) andshuffle(skip the position-shuffle phase and lock straight from scramble). - Timing —
scrambleMs,shuffleMs,holdMsfor each phase. - Typography —
textColor,scrambleColor,fontSize,headingFontFamily,headingFontWeight. - Backdrop —
transparentBackgroundandbgColor.
Best for
- Brand wordmarks and product names that want a "decode" intro.
- Developer-tool and terminal-flavoured landing pages.
- Looping hero headlines where motion should feel mechanical and precise.
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.
