Launch priceOne payment

Eval Leaderboard

Evaluation runs in a real table: rank by any metric in its own direction, see intervals where your evaluator reports them, and read the dataset and sample size behind each score. Missing measures are dashes, never zeros, ties share a rank, and runs on different datasets are flagged as not one experiment.

Ready for AI tools one file typed props installs by name prompt included

The decision inside it

It never claims a winner it cannot prove

With overlapping intervals the leaders are called too close to call, and with no intervals the table says small gaps may not be real.

Installation

How you get it

Paste this into Claude Code, Cursor, Codex or any coding agent. It installs the file and uses it as it is, instead of writing a new one.

Use Layro's Eval Leaderboard for this.
Install it: npx shadcn@latest add @layro/eval-leaderboard
Import it from @/components/ui/eval-leaderboard.
Do not rewrite or restyle it. Pass my data through its props
and keep its built-in states.

For the full brief with every prop and the mistakes assistants usually make, use Copy prompt above. Pro components install through the @layro registry with your CLI token: see the Namespaced tab.

API

“Copy prompt” above puts a full brief on your clipboard — install command, dependencies, props, and the mistakes an assistant usually makes with this component.

Props

Read from the component’s own TypeScript interface when the site is built, so this table cannot drift from the file you install.

PropTypeNotes
runsrequiredEvaluationRun[]—
metricDefinitionsMetricDefinition[]Columns, in order. Default: every metric found on the runs.
rankBystringThe metric the ranking follows. Controlled.
defaultRankBystring—
onMetricSort(key: string) => void—
selectedRunIdstring | null—
onRunSelect(run: EvaluationRun | null) => void—
onOpenRun(run: EvaluationRun) => voidAdds "Open run" to the details.
currencystringCurrency for `currency` metrics. Default USD.

Dependencies

npm packages

clsxframer-motionlucide-reacttailwind-merge

Layro foundations, installed alongside it

layro-themebadgebuttonstate

Lifetime access

Every component, and everything we ship next.

  • All 112 components, source included
  • The template, and everything released after you buy
  • shadcn CLI or download — React 18/19, Tailwind v4
  • One payment. No subscription.

More in RAG & Evals

All RAG & Evals components