Skip to content
caliper ui pro docs

Cohort retention

A triangle of retention by sign-up cohort.

Pro

Monthly retention by sign-up month

70%+6 pts vs earlier cohorts

Month 3 retention, Aug cohort

JoinedSizeM0M1M2M3M4M5M6
May420
Jun465
Jul510
Aug488
Sep540
Oct603
Average100%85%74%66%60%56%53%

Cohorts
6
Customers
3,026
Best month 1
Oct 90%
Monthly retention by sign-up month
CohortSizeMonth 0Month 1Month 2Month 3Month 4Month 5Month 6
May420420336290262244231222
Jun465465381330298277262
Jul510510428372339318
Aug488488420371344
Sep540540475430
Oct603603540

When to use

  • Judging product stickiness over time.

When not to use

  • There are too few users to fill the cohorts.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/cohort-retention

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

CohortRetention

7 props
PropTypeDefaultDescription
label *string—
cohorts *readonly Cohort[]—
periodLabelstring"Month"
focusnumber3The period the headline reports, e.g. 3 for "Month 3 retention".
loadingboolean—
errorstring—
classNamestring—

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It exposes grid and status 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/cohort-retention.md

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

More in Revenue charts