terra vidhal

Gradient Text

Text

About

Text filled with a smoothly travelling gradient, with an optional blurred neon layer.

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

Code

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

Usage.tsx

"use client";

/**
 * PrequelUI Animate — MIT — https://prequeluianimate.terravidhal.me
 */

import { GradientText } from "@/components/ui/gradient-text";

export default function GradientTextDemo() {
  return (
    <main className="flex min-h-screen items-center justify-center bg-background px-6">
      <GradientText
        text="Gradient"
        neon
        duration={14}
        className="text-balance text-center text-6xl font-semibold tracking-[-0.06em] sm:text-8xl"
      />
    </main>
  );
}

Dependencies

More by terra vidhal

View all
  • Project Timeline

    Project Timeline

    30
  • Kanban Board

    Kanban Board

    20
  • Gravity Stars Background

    Gravity Stars Background

    20
  • Booking Calendar

    Booking Calendar

    18
  • Notification Center

    Notification Center

    16
  • Audio Waveform

    Audio Waveform

    16
  • Kpi Counter

    Kpi Counter

    16
  • Topographic Lines

    Topographic Lines

    16

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    14
  • Scroll Fill Headline

    Scroll Fill Headline

    67
  • Blur Reveal

    Blur Reveal

    400
  • Apple Hello Effect

    Apple Hello Effect

    692
  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Text Reveal

    Text Reveal

    31
  • Vapour Text Effect

    Vapour Text Effect

    2.1K