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.
Pricing page headline
Started a trial · 29.4k visitors · 95% intervals
Price first converts 18.6% better than Current headline, with more than a 99% chance it beats it.
- Current headlineControl412 of 9,8404.19%Baseline
- Price first486 of 9,7904.96%+18.6%
- Outcome first431 of 9,8124.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
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
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.mdThe index of every part is at /llms.txt.