Skip to content
caliper ui pro docs

Experiment results

An A/B test read the way a decision needs it: each variant's rate with its confidence interval on one shared axis, the lift and the chance it beats control, and a verdict sentence. Until every variant has enough visitors it says so and how far there is to go; shipping a winner asks once and names what stops.

Pro

Pricing page headline

Started a trial · 29.4k visitors · 95% intervals

Running

Price first converts 18.6% better than Current headline, with more than a 99% chance it beats it.

  1. Current headlineControl412 of 9,840
    4.19%
    Baseline
  2. Price first486 of 9,790
    4.96%+18.6%
  3. Outcome first431 of 9,812
    4.39%+4.9%

When to use

  • The results page of an experimentation or feature-flag tool.
  • Any comparison of rates where a team must decide whether a difference is real.

When not to use

  • Revenue or other averages; the maths here is for rates.
  • Tests with sequential peeking rules; bring your own statistics and pass the results in.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/experiment-results

Adds its 40 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

ExperimentResults

10 props
PropTypeDefaultDescription
name *string—
metricstring"Conversion"What counts as a conversion, e.g. "Signed up".
variants *readonly ExperimentVariant[]—
confidencenumber0.950.8, 0.9, 0.95 or 0.99.
minVisitorsnumber1000Visitors each variant needs before a result is shown.
shippedstring—The id of the variant already shipped, which ends the test.
onShip((variantId: string) => void | Promise<void>)—Called when shipping is confirmed; a promise keeps the dialog busy until it settles.
loadingboolean—
errorstring—
classNamestring—

experimentStats

0 props

No props of its own; it accepts the native props of its root element.

normalCdf

0 props

No props of its own; it accepts the native props of its root element.

Keyboard

Enter or Space
Opens the menu from its trigger and activates the focused item.
↓ or ↑
Moves between items, wrapping at the ends; disabled items are skipped.
→ or ←
Opens and closes a submenu.
Escape
Closes the menu and returns focus to the trigger.
A–Z
Moves to the next item that starts with that letter.

Accessibility

It exposes alert, status and img semantics, with aria-labelledby, aria-busy, aria-hidden and aria-label kept in step with state. Changes that matter are announced through a live region.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/experiment-results.md

The index of every part is at /llms.txt.

More in Metrics