klyv-ui

Gradient Text

Text

About

An animated gradient text effect for headlines and highlighted phrases, with a polymorphic element, an optional glow halo, and automatic reduced-motion support.

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

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

export default function GradientTextDemo() {
  return (
    <div className="flex min-h-[220px] w-full items-center justify-center bg-background p-10">
      <h2 className="max-w-xl text-center text-3xl font-semibold text-foreground sm:text-4xl">
        Spend smarter, <GradientText>every single month</GradientText>
      </h2>
    </div>
  );
}

More by klyv-ui

View all
  • Gantt Chart

    Gantt Chart

    118
  • Klyv Animated Beam

    Klyv Animated Beam

    76
  • Shader Canvas

    Shader Canvas

    75
  • Pareto Chart

    Pareto Chart

    65
  • Fluid Canvas

    Fluid Canvas

    48
  • Time Slot Picker

    Time Slot Picker

    41
  • Sunburst Chart

    Sunburst Chart

    37
  • Klyv Border Beam

    Klyv Border Beam

    33

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

    398
  • Apple Hello Effect

    Apple Hello Effect

    691
  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Wave Text

    Wave Text

    445
  • Italic Sweep Scroll Text

    Italic Sweep Scroll Text

    74