Skip to content
DocsChartsVersion ribbonLast updated Nov 2, 2026

Version ribbon

Each version, scored on three measures. Sample data: success, cost and tokens per version, v9 to v14, 97.6% for the v14 candidate.

Prompt metrics by versionSuccess, cost and tokens for prompt versions V9 to V13 and the V14 candidate. Live V13: 95.1% success, $0.024 per run, 2,760 tokens; V14: 97.6%, $0.025, 2,900.SUCCESSCOSTTOKENSV9V10V11V12V13V1493.4%94.6%95.2%96.0%95.1%97.6%$0.029$0.027$0.026$0.022$0.024$0.0253,4203,2103,1802,6402,7602,900SHIPPED VERSIONSCANDIDATE
Prompt metrics by version
VersionSuccessCostTokens
V993.4%$0.0293,420
V1094.6%$0.0273,210
V1195.2%$0.0263,180
V1296.0%$0.0222,640
V13 (live)95.1%$0.0242,760
V14 (candidate)97.6%$0.0252,900
Prompt metrics by versionSuccess, cost and tokens for prompt versions V9 to V13 and the V14 candidate. Live V13: 95.1% success, $0.024 per run, 2,760 tokens; V14: 97.6%, $0.025, 2,900.SUCCESS %COST $TOKENSV9V10V11V12V13V1493.494.695.296.095.197.6.029.027.026.022.024.0253.4K3.2K3.2K2.6K2.8K2.9KSHIPPED VERSIONSCANDIDATE
Prompt metrics by version
VersionSuccessCostTokens
V993.4%$0.0293,420
V1094.6%$0.0273,210
V1195.2%$0.0263,180
V1296.0%$0.0222,640
V13 (live)95.1%$0.0242,760
V14 (candidate)97.6%$0.0252,900

Installation

  1. 1

    Set up the registry once

    Your token in .env and @chartory in components.json. Skip this when another chart is already installed.

    Installation guide
  2. 2

    Add the chart

    One command adds the Version ribbon component to your project.

    npx shadcn add @chartory/version-ribbon
  3. 3

    Use it

    Pass your rows. The props are the Figma properties.

    usage.tsx
    import { VersionRibbon }  from "@/components/chartory/version-ribbon"<VersionRibbon  data={promptVersions}  size="m"  legend/>

Props

<VersionRibbon>

Every prop but data is a Figma property with the same name and values.

PropTypeDefault
data: The chart's data. The tables below list every field.VersionRibbonDataRequired
size: The size class. Each one is laid out again from the data."xs" | "s" | "m" | "l""m"
legend: Shows the legend row under the plot.booleantrue
color: The data colour of the primary marks (data/primary)."cat-1" | "cat-2" | "cat-3" | "cat-4""cat-1"

VersionRibbonData

The data prop: one object for the whole chart.

PropTypeDefault
vers: The version labels, in order.string[]Required
live: The live version (index).numberRequired
cols: X of each version, 0..1.number[]Required
cand: X of the candidate, 0..1.numberRequired
candText: The candidate's label.stringRequired
rows: One entry per row.VersionRibbonRow[]Required

VersionRibbonRow

One object per entry in rows.

PropTypeDefault
label: The name shown on the chart.stringRequired
shortLabel?: The label at the small sizes.string—
vals: The values, in order.number[]Required
cand: The candidate's value.numberRequired
fmt: Formats a value for its label.(v: number) => stringRequired
short?: Formats a value for its label at the small sizes.(v: number) => string—

The data as a JSON Schema: schemas/version-ribbon.json

Version ribbon chart: a React and Figma chart in four sizes

What does a version ribbon chart show?

A version ribbon chart lines up releases side by side and tracks a few measures across them, such as success rate, cost and tokens. The candidate stands apart from the shipped versions. Use it for prompt, model and release comparisons.

Chartory ships it as a Figma component and a React component with the same name. The code installs from the shadcn registry with one command and lands in your project as a file you own.

What is the Version ribbon component?

It is one <VersionRibbon> component. Its props are the Figma properties with the same names and values, and the props table above lists them. The data is versions in order, two to four measures each.

Sizes XS, S, M and L re-lay the chart out from the data instead of scaling it, so labels stay readable at every size.

When should I use it?

  • Are versions in order? Yes means the version ribbon fits.
  • Are there several measures? Yes means the version ribbon fits.
  • Is it versions, not dates? Yes means the version ribbon fits.

When does another type fit better?

  • Items with no order. Use Grouped bars instead.
  • One measure per version. Use Lollipop instead.
  • Values over calendar time. Use Multi-line chart instead.

Version ribbon questions

Installing, data, Figma and plans.

  • Yes. It installs through the shadcn registry with the shadcn CLI, and the file lands in your project.

Stay in the loop

New charts, by email.

Get an email when new chart types and releases ship.

Unsubscribe any time.