Decrypted Text(010)

Cyberpunk-inspired text decryption effect scrambling through random glyphs before resolving.

HoverClick
Requires:motion
Loading…

Installation

$npx kibo add decrypted-text

Usage

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

Props Reference

PropTypeDefaultDescription
textstring-The text content to display and animate.
speednumber50Speed multiplier for the motion playback.
maxIterationsnumber10Controls the max iterations for the component animation.
sequentialbooleanfalseControls the sequential for the component animation.
revealDirection'start' | 'end' | 'center''start'Controls the reveal direction for the component animation.
useOriginalCharsOnlybooleanfalseControls the use original chars only for the component animation.
charactersstring'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!@#$%^&*()_+'Controls the characters for the component animation.
classNamestring''Additional CSS classes for styling and layout.
encryptedClassNamestring''Controls the encrypted class name for the component animation.
parentClassNamestring''Controls the parent class name for the component animation.
animateOn'view' | 'hover' | 'inViewHover' | 'click''hover'Controls the animate on for the component animation.
clickMode'once' | 'toggle''once'Controls the click mode for the component animation.