Anurag Mishra

Animated Underline Text

Text 827

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

    842
  • Testimonial

    Testimonial

    794
  • Animated Shiny Text

    Animated Shiny Text

    732
  • Animated Loading Skeleton

    Animated Loading Skeleton

    551
  • Animated Text

    Animated Text

    395

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    116
  • Rainbow Text Effect

    Rainbow Text Effect

    47
  • NeonRGBTextEffect

    NeonRGBTextEffect

    145
  • Apple Hello Effect

    Apple Hello Effect

    623
  • Vapour Text Effect

    Vapour Text Effect

    2K
  • Blur Reveal

    Blur Reveal

    313
  • Aero Hero-3

    Aero Hero-3

    580
  • Shine Border

    Shine Border

    969