Glow Leaderboard List
Glass pill rows that genuinely compete: scores tick up live, rows re-rank with layout springs, amounts roll and the glowing leader highlight glides to the new #1.
Try it: Watch rows re-rank live; toggle Live to pause; hover a row.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/glow-leaderboard-list.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/glow-leaderboard-list. You can also copy the source into components/ui/glow-leaderboard-list.tsx (view on GitHub).
Usage
import { GlowLeaderboardList } from '@/components/ui/glow-leaderboard-list'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
items | LeaderboardItem[] | DEFAULT_LEADERBOARD_ITEMS | { id, name, score, level?, src?, hue? } — src for real avatars. |
live / defaultLive / onLiveChange | boolean / boolean / (v) => void | true | Controlled or uncontrolled live ticking. |
interval | number | 2200 | Milliseconds between score ticks. |
currency | string | '
|