Encrypted Text

A cyberpunk-style text reveal animation that unscrambles random characters into legible text.

Raya UI Primitives

>Initializing secure connection...
Data encryption in progress. Decrypting payload sector 7G...

Installation

npx shadcn-vue@latest add https://raya-ui.com/registry/encrypted-text.json

Or manually:

Install dependencies:

npm install @vueuse/core

Copy the component code into your project.

Props

PropTypeDefaultDescription
textstring-The final text to reveal.
revealDelayMsnumber50Speed of the reveal (ms per character).
flipDelayMsnumber50Speed of the gibberish character scrambling.
encryptedClassstring-Class applied to unrevealed (scrambled) characters.