scrollxui

Electric Text

Text 2

About

An animated text effect with a glowing, electrically distorted outline that flickers like neon or lightning around the letters.

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

Code

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

Usage.tsx

import ElectricText from "@/components/ui/electric-text";

export default function ElectricTextDemo() {
  return (
    <div className="w-full h-screen flex items-center justify-center bg-background">
      <ElectricText
        color="#BB8A2C"
        showFill={false}
        speed={1}
        glowIntensity="high"
        chaos={1}
        strokeWidth={3}
        className="text-5xl font-bold"
      >
        Feel the Spark
      </ElectricText>
    </div>
  );
}

More by scrollxui

View all
  • Contact with Globe

    Contact with Globe

    311
  • Features With Panel

    Features With Panel

    265
  • Logo Cloud Marquee

    Logo Cloud Marquee

    148
  • Hero Section with Cards

    Hero Section with Cards

    128
  • FAQ Accordion

    FAQ Accordion

    122
  • Particles

    Particles

    98
  • Hero With Pixel Background

    Hero With Pixel Background

    77
  • Testimonials Marquee

    Testimonials Marquee

    60

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    103
  • Motion Blur Text

    Motion Blur Text

    36
  • NeonRGBTextEffect

    NeonRGBTextEffect

    144
  • Text Reveal

    Text Reveal

    27
  • Random Letter Swap

    Random Letter Swap

    46
  • Rainbow Text Effect

    Rainbow Text Effect

    47
  • Text Color

    Text Color

    545
  • Blur Reveal

    Blur Reveal

    300