Kavi Katiyar

Goal Tracker Card

Cards

About

Goal Tracker Card This component provides a visually appealing way to track progress towards a financial or personal goal. It features an image, title, animated percentage, and a segmented progress bar that animates into view.

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

Code

How Goal Tracker Card is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { GoalTrackerCard } from '@/components/ui/goal-tracker-card'; // Adjust the import path

export default function GoalTrackerCardDemo() {
  return (
    <div className="flex min-h-[400px] w-full flex-col items-center justify-center gap-8 bg-background p-4">
      <GoalTrackerCard
        title="Vacation 2025"
        imageUrl="https://cdn.21st.dev/assets/mirror/35/35803c639de4d5c58b8d22eda1e2b48510c73ef5e7d248ad4db0ffe937ed84b0.jpg"
        currentAmount={2184}
        goalAmount={2500}
      />
      <GoalTrackerCard
        title="Buy a house"
        imageUrl="https://cdn.21st.dev/assets/mirror/bb/bb6fd55701a2a7f7f8f57c3ffe2742fd905c01420174e66436962dd6f9787089.jpg"
        currentAmount={182495}
        goalAmount={250000}
        totalSegments={35} // Example of customizing segment count
      />
    </div>
  );
}

Dependencies

More by Kavi Katiyar

View all
  • 3D Card

    3D Card

    982
  • Bento Product Features

    Bento Product Features

    831
  • Testimonial Slider

    Testimonial Slider

    716
  • Card

    Card

    608
  • Order Confirmation Card

    Order Confirmation Card

    504
  • Project Detail View

    Project Detail View

    408
  • Animated Card

    Animated Card

    394
  • State

    State

    393

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    33
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • Statistics Card 10

    Statistics Card 10

    263
  • Statistics Card 2

    Statistics Card 2

    264
  • Card

    Card

    17
  • Card Studio

    Card Studio

    9
  • The Item one

    The Item one

    3