Scrambled Text(021)

Proximity-based character scrambler dynamically distorting glyphs near the cursor.

Hover
Loading…

Installation

$npx kibo add scrambled-text

Usage

1import { ScrambledText } from "@/components/kibo/scrambled-text/component";
2
3export default function Example() {
4 return (
5 <ScrambledText />
6 );
7}

Props Reference

PropTypeDefaultDescription
radiusnumber100Effect calculation radius in pixels from cursor position.
durationnumber1.2Duration of the animation in seconds or milliseconds.
speednumber0.5Speed multiplier for the motion playback.
scrambleCharsstring'.:!#@$%^&*()_+~|}{[]'Controls the scramble chars for the component animation.
classNamestring''Additional CSS classes for styling and layout.
styleReact.CSSProperties{}Controls the style for the component animation.
childrenstring-Child elements or content to render inside the component.