Revenue explorer
Revenue split by segment and period, with a table.
| Period | Subscriptions | Usage | Services | Last year |
|---|---|---|---|---|
| Nov | 90000 | 24000 | 18000 | 105600 |
| Dec | 96700 | 28338 | 23200 | 117997 |
| Jan | 103400 | 32324 | 28400 | 129986 |
| Feb | 105600 | 35692 | 20600 | 127571 |
| Mar | 112300 | 38328 | 25800 | 138320 |
| Apr | 119000 | 40295 | 18000 | 138290 |
| May | 121200 | 41823 | 23200 | 144509 |
| Jun | 127900 | 43248 | 28400 | 154051 |
| Jul | 134600 | 44930 | 20600 | 153700 |
| Aug | 136800 | 47167 | 25800 | 160262 |
| Sep | 143500 | 50123 | 18000 | 160833 |
| Oct | 150200 | 53783 | 23200 | 171750 |
When to use
- Finance asks where the money comes from.
When not to use
- You need a single total.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/revenue-explorer
Adds its 8 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
RevenueExplorer
7 props
PropTypeDefaultDescription
label *string—
segments *readonly { id: string; label: string; }[]—
data *readonly RevenuePoint[]—
priorreadonly number[]—The same periods a year earlier, as totals.
loadingboolean—
errorstring—
classNamestring—
Keyboard
- Escape
- Closes or cancels, then returns focus to where it came from.
Accessibility
It exposes group, img and status semantics, with aria-label, aria-busy, aria-pressed and aria-hidden 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/revenue-explorer.mdThe index of every part is at /llms.txt.