Component packs › Questline › Leaderboard Reorder
Points fly into your score and your row lifts and climbs past rivals on a spring as the ranks follow.
Leaderboard Reorder is a leaderboard from Questline, a component pack with 6 gamification components: Gamification components where every reward visibly travels from what earned it. Price: $2 for the whole pack.
Built with: spring reorder, lifted row, ordered list.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
players | { name: string; score: number; avatar?: string }[] | "You") is highlighted | Players. The one named `you` (default "You") is highlighted. |
you | string | ||
reward | number | 90 | Points the quiz button pays. Default 90. |
onChange | (rank: number) => void | ||
autoplay | number | false | Showcase mode: someone scores every N ms while visible. |
score(name: string, points: number): void: Adds points to a player (gems fly to their row).destroy(): voidimport Leaderboard from './Leaderboard';
<Leaderboard />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Gamification and reactions.