NexusUI

Encrypted Text

Heroes

About

A text component that scrambles characters into gibberish before locking into the final string, with configurable load/hover/viewport/click triggers, looping, and speed — for cyberpunk-style hero headings, buttons, badges, and nav links.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Encrypted Text to your project and fits it to your theme.

Code

How Encrypted Text is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { EncryptedText } from "@/components/ui/encrypted-text";

export default function EncryptedTextDemo() {
  return (
    <div className="flex min-h-[220px] w-full items-center justify-center bg-background p-10">
      <p className="mx-auto max-w-lg text-center text-2xl font-semibold text-foreground">
        <EncryptedText text="Welcome to the Matrix, Neo." trigger="load" />
      </p>
    </div>
  );
}

Dependencies

More by NexusUI

View all
  • Circular Carousel

    Circular Carousel

    1.3K
  • Images Badge

    Images Badge

    1K
  • Chat Messages

    Chat Messages

    366
  • Cinematic Logo Cloud

    Cinematic Logo Cloud

    175
  • Infinite Moving Cards

    Infinite Moving Cards

    174
  • Shooting Stars Grid

    Shooting Stars Grid

    160
  • Pixel Atlas

    Pixel Atlas

    133
  • Logo Clouds

    Logo Clouds

    119

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.7K
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Editorial Collage Hero

    Editorial Collage Hero

    507
  • Hero Section

    Hero Section

    445
  • Aero Hero-3

    Aero Hero-3

    618
  • Hero with group of images, text and two buttons

    Hero with group of images, text and two buttons

    442