Skip to content
Sign upGet access
MicrointeractionsRank climbMenu

Rank climb (Pro)

ProIncluded in $99

A leaderboard where the order is the story: rows travel to their new rank and say how far they moved.

ProAs new scores land each model travels to its new rank, says how far it moved, and its score rolls.

When new scores land, each row travels to its new rank, overtaking or falling behind the rows around it, and says how far it moved in a small green or red count that fades once you have seen it. Scores roll digit by digit. Rows that did not move stay perfectly still.

Installation

$ pnpm dlx shadcn@latest add @chatcn-pro/rank-climb

Needs chatcn Pro

This command works with a Pro license, along with every Pro component.

Or start free: sign up and get three Pro components on us, with a new one every month.

Usage

tsx
import { RankClimb } from "@/components/ui/chatcn/pro/rank-climb"

<RankClimb rows={models} unit="%" decimals={1} />

Props

PropTypeNotes
rows{ id, name, score, detail? }[]Any order; ranked by score
decimalsnumberDefault 1
unitstringAfter the score: "%"

Accessibility

  • An ordered list; the moves read as places up or places down.

Motion

  • FLIP on each row, 560 ms; climbing rows pass over the others. Reduced motion: the order just changes.