Scramble
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-scrambleAbout this component
On hover, characters randomize from a pool of alphanumeric and symbol characters at 40ms intervals. Characters resolve to the real label progressively left-to-right. On mouse leave the original text is restored immediately.
Triggers
- Hover
Techniques
- Interval
- Text animation
Difficulty
Intermediate
Accessibility
Reduced motion
Scramble effect still runs under prefers-reduced-motion as text remains readable throughout.
Use it in anything you build, commercial and client work included. Licence