Anurag Mishra

Animated Underline Text

Text 826

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.3K
  • Interactive Bento Gallery

    Interactive Bento Gallery

    2.1K
  • Progress Indicator

    Progress Indicator

    1.4K
  • Circular Reveal Heading

    Circular Reveal Heading

    841
  • Testimonial

    Testimonial

    793
  • Animated Shiny Text

    Animated Shiny Text

    730
  • Animated Loading Skeleton

    Animated Loading Skeleton

    550
  • Animated Text

    Animated Text

    394

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    110
  • Blur Reveal

    Blur Reveal

    313
  • Vapour Text Effect

    Vapour Text Effect

    2K
  • NeonRGBTextEffect

    NeonRGBTextEffect

    145
  • Rainbow Text Effect

    Rainbow Text Effect

    47
  • Shine Border

    Shine Border

    968
  • Apple Hello Effect

    Apple Hello Effect

    620
  • Text Highlight

    Text Highlight

    72