Podium rise
A winners' podium. Three bars rise third, second, first, and each winner's picture lands on its bar as it tops out, the score counting up beneath. First place wears a crown that tips once.
- 1st: Maya Chen, 128 deals
- 2nd: Dev Patel, 112 deals
- 3rd: Sara Lind, 97 deals
When to use
- Leaderboards, quiz results, sales contests and year-end summaries.
- Any top-three moment worth a beat.
When not to use
- Long rankings; show the top three here and the rest as a list.
- Ties without a rule; decide the order before you pass it in.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/podium-rise
Adds its 3 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
PodiumRise
3 props
Also accepts the native props of its root element and a ref.
PropTypeDefaultDescription
entries *PodiumEntry[]—The top three, first place first.
unitstring"points"What the score counts, e.g. "points".
replaynumber0Change it to play the rise again.
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It is built on native elements and keeps aria-label and aria-hidden in step with state.
Motion
- State changes animate with the library's shared durations and curves, so its timing matches every other part.
- Under reduced motion each change lands on its end state without movement; nothing is hidden or skipped.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/podium-rise.mdThe index of every part is at /llms.txt.