trophyso

Leaderboard Card

Cards 720

About

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

Code

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

Usage.tsx

import { LeaderboardCard } from "@/components/ui/leaderboard-card"

export default function DemoOne() {
  return (
    <LeaderboardCard
      title="Weekly Leaderboard"
      fromDate="2026-05-01"
      toDate="2026-05-07"
      currentUserId="u-5"
      podiumRankings={[
        { userId: "u-1", userName: "Ava Elizabeth Turner", rank: 1, value: 289400 },
        { userId: "u-2", userName: "Leo Harrison", rank: 2, value: 251800 },
        { userId: "u-3", userName: "Rowan Elijah", rank: 3, value: 238300 },
      ]}
      rankings={[
        { userId: "u-1", rank: 1, userName: "Ava Elizabeth Turner", byline: "Level 42 – Diamond", value: 289400, displayed: true },
        { userId: "u-2", rank: 2, userName: "Leo Harrison", byline: "Level 39 – Platinum", value: 251800, displayed: true },
        { userId: "u-3", rank: 3, userName: "Rowan Elijah", byline: "Level 35 – Gold", value: 238300, displayed: true },
        { userId: "u-4", rank: 4, userName: "Maya Chen", byline: "Level 31 – Silver", value: 198700, displayed: true },
        { userId: "u-5", rank: 5, userName: "You", byline: "Level 28 – Bronze", value: 156200, displayed: true },
      ]}
    />
  )
}

More by trophyso

View all
  • Streak Badge

    Streak Badge

    343
  • Leaderboard Podium

    Leaderboard Podium

    260
  • Points Chart

    Points Chart

    253
  • Achievement List

    Achievement List

    196
  • Achievement Card

    Achievement Card

    153
  • Leaderboard Rankings

    Leaderboard Rankings

    130
  • Achievement badge

    Achievement badge

    84
  • Achievement Unlocked

    Achievement Unlocked

    22

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Photo Deck

    Photo Deck

    47
  • Folded Card

    Folded Card

    45
  • Statistics Card 10

    Statistics Card 10

    304
  • Statistics Card 2

    Statistics Card 2

    309
  • Statistics Card 7

    Statistics Card 7

    336
  • CTA Section

    CTA Section

    6
  • Liquid Glass Card

    Liquid Glass Card

    198