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| Name | Type | Default | Description |
|---|---|---|---|
children | ReactNode | None | The 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. |
radius | number | 100 | The distance from the pointer, in pixels, within which letters react. |
strength | number | 1 | How far letters lift, how much they blur, or how much they magnify. |
trail | number | 0.6 | Seconds lifted, blurred or magnified letters take to settle after the pointer moves on. |
duration | number | 1.2 | Seconds a letter right under the pointer keeps scrambling; also the pace of the intro and the click burst. |
speed | number | 0.5 | How often a scrambling letter swaps to a new character; higher flickers faster. |
clickBurst | boolean | true | Clicking sends a wave outward from the click point, carrying the current effect. |
scrambleChars | string | ".:" | The characters shown while a letter is scrambled. |
scrambleColor | string | "" | The colour of letters while they are scrambled; empty keeps the text colour. |
color | string | "" | The text colour; empty follows the surrounding text. |
fontFamily | string | "" | The font; empty keeps the default monospace. |
intro | boolean | true | Decode the whole text from scrambled characters the first time it scrolls into view. |
className | string | None | |
style | CSSProperties | None |