Decrypted Text Reveal
A production-scale, light + dark Decrypted Text Reveal component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add decrypted-text-revealLive preview available in the gallery.
Usage
import { DecryptedTextReveal } from "@lerpa/ui";
<DecryptedTextReveal />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| text | string | - | |
| speed | number | — | |
| scrambleDuration | number | — | |
| characterSet | string | — | |
| revealDelay | number | — | |
| triggerOnHover | boolean | — | |
| animateOnMount | boolean | — | |
| as | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'div' | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.