Anurag Mishra

Animated Text

Text 390

About

Cool Animated Text

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

Code

How Animated 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-text"

function DefaultDemo() {
  return <AnimatedText text="Mishra Hub" />
}

function CustomStyleDemo() {
  return (
    <AnimatedText 
      text="Custom Style"
      textClassName="text-6xl text-gradient-to-r from-blue-600 to-purple-600"
      underlineGradient="from-red-500 via-yellow-500 to-green-500"
      underlineHeight="h-2"
      underlineOffset="-bottom-4"
    />
  )
}

function HeadingDemo() {
  return (
    <AnimatedText 
      text="As H2 Element"
      as="h2"
      textClassName="text-2xl"
      underlineClassName="rounded-full"
    />
  )
}

function SlowAnimationDemo() {
  return (
    <AnimatedText 
      text="Slower Animation"
      duration={0.8}
      delay={0.2}
    />
  )
}

export {
  DefaultDemo,
  CustomStyleDemo,
  HeadingDemo,
  SlowAnimationDemo
}

Dependencies

More by Anurag Mishra

View all
  • Dock

    Dock

    2.2K
  • Interactive Bento Gallery

    Interactive Bento Gallery

    2.1K
  • Progress Indicator

    Progress Indicator

    1.3K
  • Circular Reveal Heading

    Circular Reveal Heading

    837
  • Animated Underline Text

    Animated Underline Text

    817
  • Testimonial

    Testimonial

    775
  • Animated Shiny Text

    Animated Shiny Text

    721
  • Animated Loading Skeleton

    Animated Loading Skeleton

    545

More in Text

View all
  • Motion Blur Text

    Motion Blur Text

    36
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    103
  • NeonRGBTextEffect

    NeonRGBTextEffect

    144
  • Text Reveal

    Text Reveal

    27
  • Random Letter Swap

    Random Letter Swap

    46
  • Rainbow Text Effect

    Rainbow Text Effect

    47
  • Text Color

    Text Color

    545
  • Blur Reveal

    Blur Reveal

    300