Preet Suthar

Gradient Tracing

Component 331

About

An animated line component with a moving gradient and optional logos at the endpoints.

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

Code

How Gradient Tracing is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { GradientTracing } from "@/components/ui/gradient-tracing";

const Demo = () => (
  <GradientTracing
    width={200}
    height={200}
    path="M100,0 L75,75 L125,75 L50,200 L100,100 L50,100 L100,0"
    gradientColors={["#F1C40F", "#F1C40F", "#E67E22"]}
  />
);

export { Demo };

Dependencies

More by Preet Suthar

View all
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.6K
  • Shining Text

    Shining Text

    1.5K
  • Magic Text

    Magic Text

    845
  • Toolbar

    Toolbar

    822
  • Hero 2

    Hero 2

    818
  • Typewriter Text

    Typewriter Text

    769
  • AI Chat Input

    AI Chat Input

    734
  • Full Screen Signup

    Full Screen Signup

    731