Anurag Mishra

Animated Underline Text

Text 824

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

    840
  • Testimonial

    Testimonial

    790
  • Animated Shiny Text

    Animated Shiny Text

    729
  • Animated Loading Skeleton

    Animated Loading Skeleton

    549
  • Animated Text

    Animated Text

    393

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    110
  • Motion Blur Text

    Motion Blur Text

    38
  • Apple Hello Effect

    Apple Hello Effect

    615
  • Text Reveal

    Text Reveal

    28
  • Toolbar

    Toolbar

    46
  • Typography

    Typography

    5
  • NeonRGBTextEffect

    NeonRGBTextEffect

    144
  • Vapour Text Effect

    Vapour Text Effect

    2K