Skip to content

    Browse components

    Electric Text

    Text wrapped in a crackling electric outline, driven by animated SVG turbulence displacement.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/electric-text

    First time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/electric-text.json

    Usage

    import { ElectricText } from "@/components/ui/electric-text";
    
    <ElectricText text="HIGH VOLTAGE" color="#7dd3fc" />

    Props

    PropTypeDefaultDescription
    textstring"HIGH VOLTAGE"Text to electrify.
    colorstring"#7dd3fc"Arc color.
    intensitynumber6Displacement strength, in px.
    speednumber24Crackle updates per second.
    glowbooleantrueSoft outer glow.
    classNamestring—Extra classes for the root element.