Podium Stack Leaderboard
Gold, silver and bronze cards stacked like a hand of trophies; promoting someone lifts their card past its rival, re-stacks the pile and morphs the medal finishes.
Try it: Click a card to promote it, or Shuffle; hover pauses the auto shuffle.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/podium-stack-leaderboard.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/podium-stack-leaderboard. You can also copy the source into components/ui/podium-stack-leaderboard.tsx (view on GitHub).
Usage
import { PodiumStackLeaderboard } from '@/components/ui/podium-stack-leaderboard'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
items | PodiumItem[] | DEFAULT_PODIUM_ITEMS | { id, name, points, note?, src?, hue? } — src for real avatars. |
visible | number | 4 | Cards shown; the last one is faded. |
autoShuffle | boolean | true | Promotes a random rank on an interval. |
interval | number | 3800 | Milliseconds between automatic promotions. |
onRankChange | (items) => void | — | Fires with the new order after a promotion. |
Dependencies
motionlucide-react
Related Widgets components
- KPI Spark Widget
KPI number ticker with mini sparkline that draws on mount and a trend delta pill.
- 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.
- Live Meter Dial
Animated semicircle gauge for delivery rate / ASR / concurrent calls.
- Polar Bloom Chart
A Nightingale rose that blooms: petals unfurl from the bud one after another, re-grow on springs when you switch datasets, and the hovered or arrow-key focused petal lifts out with a coloured glow…
- Activity Stream Widget
Live-feeling activity feed with staggered row inserts.
- Seat Scale Pricing
One pricing card that morphs through every plan as you drag the team size: avatars pop in seat by seat, the price rolls on odometer reels, the tier badge and accent cross-fade, unlocked features…