Leaderboard 2 - Sales table with period tabs and rank change

A leaderboard table of reps with avatar, region, deals closed and revenue, switchable between week, month and all-time tabs, plus up/down arrows showing movement since the previous period. Use it in sales dashboards, internal competitions or affiliate programs.

About Leaderboard 2

A leaderboard table of reps with avatar, region, deals closed and revenue, switchable between week, month and all-time tabs, plus up/down arrows showing movement since the previous period. Use it in sales dashboards, internal competitions or affiliate programs.

Leaderboard 2 is a free leaderboard block for React, built on shadcn/ui and Tailwind CSS. It ships as 134 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • leaderboard
  • table
  • tabs
  • sales
  • rank-change
  • dashboard

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/leaderboard-02

Dependencies installed automatically: lucide-react.

Uses: avatar, reveal, table, tabs, utils.

Usage

import Leaderboard02 from "@/components/blocks/leaderboard-02"

export default function Page() {
  return <Leaderboard02 />
}

FAQ