trophyso

Achievement List

Component 170

About

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

Code

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

Usage.tsx

import { AchievementList } from "@/components/ui/achievement-list"

export default function DemoOne() {
  return (
    <AchievementList
      achievements={[
        {
          id: "list-1",
          name: "10 Day Streak",
          description: "Open app for 10 days",
          trigger: "streak",
          achievedAt: "2024-01-01T00:00:00Z",
          progress: 60,
        },
        {
          id: "list-2",
          name: "5,000 Calorie Burn",
          description: "Burn 5K calories total",
          trigger: "metric",
          achievedAt: "2024-01-01T00:00:00Z",
          progress: 32,
        },
        {
          id: "list-3",
          name: "Weekend Warrior",
          description: "Complete challenges on weekends",
          trigger: "metric",
          achievedAt: null,
        },
      ]}
    />
  )
}

Dependencies

More by trophyso

View all
  • Leaderboard Card

    Leaderboard Card

    628
  • Streak Badge

    Streak Badge

    277
  • Points Chart

    Points Chart

    240
  • Leaderboard Podium

    Leaderboard Podium

    230
  • Achievement Card

    Achievement Card

    139
  • Leaderboard Rankings

    Leaderboard Rankings

    112
  • Achievement badge

    Achievement badge

    67
  • Achievement Unlocked

    Achievement Unlocked

    18