Skip to content
PixiKit

Scramble Hover

Letters near the pointer scramble, lift, blur or swell, with a click wave and a decoding intro.

pixikit.com/docs/effects/scramble-hover

Customize

Effect
Radius100px
Strength1.0
Trail0.6s
Duration1.2s
Speed0.5
Click burst
Scramble color
Color
Font family
Intro

Props

15
NameTypeDefaultDescription
childrenReactNodeNoneThe text to scramble.
effect"scramble" | "lift" | "blur" | "magnify""scramble"What happens to letters near the pointer: they scramble, rise, blur, or swell like a lens.
radiusnumber100The distance from the pointer, in pixels, within which letters react.
strengthnumber1How far letters lift, how much they blur, or how much they magnify.
trailnumber0.6Seconds lifted, blurred or magnified letters take to settle after the pointer moves on.
durationnumber1.2Seconds a letter right under the pointer keeps scrambling; also the pace of the intro and the click burst.
speednumber0.5How often a scrambling letter swaps to a new character; higher flickers faster.
clickBurstbooleantrueClicking sends a wave outward from the click point, carrying the current effect.
scrambleCharsstring".:"The characters shown while a letter is scrambled.
scrambleColorstring""The colour of letters while they are scrambled; empty keeps the text colour.
colorstring""The text colour; empty follows the surrounding text.
fontFamilystring""The font; empty keeps the default monospace.
introbooleantrueDecode the whole text from scrambled characters the first time it scrolls into view.
classNamestringNone
styleCSSPropertiesNone

More text effects in Pro

View all

Related