Checkout button copy
Running- Variant A: Checkout v14.1%conversion rate · 50% of traffic
- Variant B: Checkout v2Leading4.6%conversion rate · 50% of traffic
84% sure B is better. 95% in about 4 days.
A compact A/B or A/B/n experiment with its status, result and one decision.
An A/B or A/B/n experiment: status, traffic split, metric per variant and one decision.
A running experiment with B leading. Stop opens a kit AlertDialog; Cancel returns focus to the button. Variants shows every status.
84% sure B is better. 95% in about 4 days.
Status, Winner and Leading are words in a Badge. Ship winner is the one solid primary and only appears on a concluded experiment with a winner; a concluded experiment with no winner reads Inconclusive and offers Extend.
A compact A/B or A/B/n experiment: status in words, the metric and traffic split under each variant's value ("paid within 7 days · 50%"), a confidence note in plain words and one decision (Ship winner, Stop, Extend, Start). Ship and Stop confirm with a kit AlertDialog.
import { ExperimentCard } from "agentic-ds-kit";From contracts/experimentcard.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| name | string | Yes | — | — |
| metricLabel | string | Yes | — | Shown in the meta line and, lowercased, under each value with the traffic share. |
| status | draft | running | concluded | stopped | Yes | — | Concluded with no winner reads "Inconclusive". |
| variants | array | Yes | — | { id, label, traffic, value?, isWinner?, isLeading? }[]; lettered A, B, C… |
| dates | string | No | — | — |
| confidenceNote | string | No | — | Plain words, e.g. "88% sure B is better. 95% in about 3 days." Body-sm in muted text. |
| onView | function | No | — | — |
| onShip | function | No | — | (variantId) => void, after the AlertDialog. The one solid primary. |
| onStop | function | No | — | After a danger AlertDialog. |
| onStart | function | No | — | — |
| onEdit | function | No | — | — |
| onExtend | function | No | — | — |
| extendLabel | string | No | Extend 7 days | — |
| loading | boolean | No | false | — |
| error | string | No | — | — |
| onRetry | function | No | — | — |
Immediate on/off setting.
one KPI with label, value, optional delta/trend/hint/badge
A recommended insight or opportunity as a compact card, with tone and optional actions.
Must-choose overlay that interrupts until the user cancels or confirms.