Interactive Answers
Bump Rankings
Smooth Bezier rank ribbons across benchmarks or weeks — morph between Rank lanes and Score positions, hover or pin any model to inspect node scores and rank movement.
2 variantsMIT
Preview
Model bump rankings
How frontier models trade rank across 5 capability suites
Sonnet 4.6strongest in Tool use
avg 91.6·↓ 1 rank
Installation
Copies the component into components/ui and installs its dependencies and theme tokens.
pnpm dlx shadcn@latest add https://tuffui.com/r/bump-rankings.jsonUsage
Pass your own data and wire the callbacks to your agent runtime.
import { BumpRankings } from "@/components/ui/bump-rankings";
export function ModelRankings({ columns, models }: Props) {
return (
<BumpRankings
title="Model bump rankings"
subtitle="Rank changes across five eval suites"
columns={columns}
series={models}
/>
);
}Props
| Prop | Type | Default | Description |
|---|---|---|---|
| columns* | string[] | — | Ordered column headers along the X-axis (eval suites, releases or weeks). |
| series* | BumpSeries[] | — | Entities to compare, each with one numeric score per column. |
| mode | "rank" | "score" | — | Controlled Y-axis mode: evenly spaced rank lanes or true numeric score. |
| defaultMode | "rank" | "score" | "rank" | Initial Y-axis mode when uncontrolled. |
| onModeChange | (mode: "rank" | "score") => void | — | Called when the user toggles between Rank and Score. |
| formatValue | (value: number) => string | — | Formats node pills and average score in the summary strip. |
| title | ReactNode | "Bump rankings" | Header title. |
| subtitle | ReactNode | — | Secondary line under the title. |
| className | string | — | Extra classes for the outer Shell. |
type BumpSeries = {
id: string;
label: string;
values: number[]; // one score per column, higher ranks better
color?: string;
};