Hossain Jahed

Animated SVG Text Path

Text 86

About

lets you effortlessly bring text to life by animating it along any SVG path within your React applications. This component, part of the EaseMize UI library, leverages the GreenSock Animation Platform (GSAP) for high-performance, smooth animations. Customize the text, animation duration, direction (forwards/reversed), font size, letter spacing, the SVG path data, viewBox, and rotation. It's designed to be highly flexible, allowing developers to add sophisticated text-on-a-path animations with ease.

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

Code

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

Usage.tsx

import { AnimatedTextPath } from "@/components/ui/animated-svg-text-path";

const DemoOne = () => {
  return (
     <AnimatedTextPath
        text="looping SVG Text Path. Any Shape And it Still Animates In Any Path."
        duration={18}
        reversed={false}
        fontSize="16px"
        letterSpacing="0.2px"
        rotation={40}
      />
  )
  ;
};

const DemoTwo = () => {
  return (
     <AnimatedTextPath
        text="looping SVG path . Make any shape You want and add text to it ."
        duration={18}
        reversed={false}
        fontSize="16px"
        letterSpacing="0.2px"
        rotation={20}
        svgPath="M 80 110 C 80 50, 130 50, 140 110 C 150 170, 200 170, 200 110 C 200 50, 150 50, 140 110 C 130 170, 80 170, 80 110"
      />
  )
  ;
};

export { DemoOne, DemoTwo };

Dependencies

More by Hossain Jahed

View all
  • Spotlight Card

    Spotlight Card

    8.8K
  • Cinematic landing Hero

    Cinematic landing Hero

    5.6K
  • Motion Footer

    Motion Footer

    5.6K
  • Sign In

    Sign In

    4.6K
  • AI prompt Box

    AI prompt Box

    3K
  • Glassmorphism Trust Hero

    Glassmorphism Trust Hero

    2.8K
  • Limelight Nav

    Limelight Nav

    2K
  • Ai chat input

    Ai chat input

    1.7K

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