Hossain Jahed

Animated SVG Text Path

Text 88

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

    9.7K
  • Motion Footer

    Motion Footer

    6.3K
  • Cinematic landing Hero

    Cinematic landing Hero

    6K
  • Sign In

    Sign In

    5K
  • AI prompt Box

    AI prompt Box

    3.2K
  • Glassmorphism Trust Hero

    Glassmorphism Trust Hero

    2.9K
  • Ai chat input

    Ai chat input

    2.1K
  • Limelight Nav

    Limelight Nav

    2.1K

More in Text

View all
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    15
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Scroll Fill Headline

    Scroll Fill Headline

    67
  • Blur Reveal

    Blur Reveal

    401
  • Apple Hello Effect

    Apple Hello Effect

    692
  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Text Reveal

    Text Reveal

    31
  • NeonRGBTextEffect

    NeonRGBTextEffect

    156