Love This UI? Help It Grow and Reach More Developers Worldwide — Check out
logo

Scramble Text

Scramble Text creates a mouse-reactive interference effect by scrambling nearby characters, then resolving them back to the original text.

Every signal is buried in chaos. Move through the interference to reveal what hides beneath the static. The truth is always there, waiting to be uncovered by those patient enough to look.

You can easily reuse this component anywhere in your app.

Basic Usage

Loading...

Props

PropTypeDefaultDescription
childrenstringrequiredText content to render and scramble.
charsstring"01001101"Character pool used while scrambling.
speednumber35Interval in milliseconds between scrambled character updates.
radiusnumber130Cursor proximity radius that activates scrambling.
asReact.ElementType"p"Wrapper element tag (for example "h1" or "span").
classNamestring""Additional classes for the wrapper element.
styleReact.CSSPropertiesundefinedInline style overrides for the wrapper.
accentColorstring"#ff6b35"Accent color used for active scrambled glow.

Customized Variant

Loading...

Tip: Use Alt + / to navigate