Md afsar mahmud

gradient text

Text 13

About

A stylish gradient text component for modern UIs, built with accessibility and animation in mind.

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 React from "react";
import GradientText from "@/components/ui/gradient-text";

const GradientTextDemo = () => {
  return (
    <div className="p-10">
      <GradientText
        colors={["#3ca2fa", "#80eeb4", "#3ca2fa", "#80eeb4", "#3ca2fa"]}
        animationSpeed={3}
        showBorder={false}
        className="text-6xl font-black"
      >
        Welcome to Nur/ui
      </GradientText>
    </div>
  );
};

export default GradientTextDemo;

More by Md afsar mahmud

View all
  • Hover  Footer

    Hover Footer

    1.4K
  • banner

    banner

    374
  • counter loader

    counter loader

    289
  • tech-curosr

    tech-curosr

    194
  • gradient button

    gradient button

  • gradient hero

    gradient hero

  • glowing card

    glowing card

More in Text

View all
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    16
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Blur Reveal

    Blur Reveal

    401
  • Scroll Fill Headline

    Scroll Fill Headline

    67
  • Text Reveal

    Text Reveal

    411
  • Per Word Crossfade

    Per Word Crossfade

    20
  • Italic Sweep Scroll Text

    Italic Sweep Scroll Text

    77
  • Apple Hello Effect

    Apple Hello Effect

    692