Anurag Mishra

Animated Underline Text

Text 848

About

Animated Underline Text

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

Code

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

Usage.tsx

import { AnimatedText } from "@/components/ui/animated-underline-text-one";

function DefaultDemo() {
  return <AnimatedText text="Namaste World!" />;
}

function CustomStyleDemo() {
  return (
    <AnimatedText
      text="Namaste World!"
      textClassName="text-5xl font-bold mb-2"
      underlinePath="M 0,10 Q 75,0 150,10 Q 225,20 300,10"
      underlineHoverPath="M 0,10 Q 75,20 150,10 Q 225,0 300,10"
      underlineDuration={1.5}
    />
  );
}

export { DefaultDemo, CustomStyleDemo };

Dependencies

More by Anurag Mishra

View all
  • Dock

    Dock

    2.4K
  • Interactive Bento Gallery

    Interactive Bento Gallery

    2.2K
  • Progress Indicator

    Progress Indicator

    1.4K
  • Circular Reveal Heading

    Circular Reveal Heading

    865
  • Testimonial

    Testimonial

    815
  • Animated Shiny Text

    Animated Shiny Text

    759
  • Animated Loading Skeleton

    Animated Loading Skeleton

    569
  • Animated Text

    Animated Text

    406

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    134
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    9
  • Text Reveal

    Text Reveal

    31
  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Scroll Fill Headline

    Scroll Fill Headline

    44
  • Shine Border

    Shine Border

    1K
  • Split text

    Split text

    79
  • Motion Blur Text

    Motion Blur Text

    47