MRR waterfallPro
How MRR moved from start to end of a period, and which accounts moved it.
What's inside
- Floating waterfall bars
- Click a bar for its accounts
- NRR and quick ratio
When to use
- Showing how a period's MRR moved from start to end.
When not to use
- Trends over many months: use revenue breakdown.
Installation
Usage
Import it from @/components/blocks/mrr-waterfall after installing. It ships with sample data, so it renders straight away; swap in your own data when you're ready.
import { MrrWaterfall } from "@/components/blocks/mrr-waterfall";
export default function Page() {
return (
<main className="mx-auto max-w-6xl p-6">
<MrrWaterfall />
</main>
);
}API reference
MrrWaterfall
A floating waterfall from starting to ending MRR with net revenue retention and quick ratio. Also the default export. No props: sample data sits at the top of the file, ready to swap for your own.
No props.
Keyboard interactions
| Keys | Action |
|---|---|
| Tab | Move between bars and the period control |
| EnterorSpace | Open the accounts behind a bar |
Accessibility
- Bars are buttons labelled with their value; the selected bar uses aria-pressed.
- Every bar's amount is printed as text.
Motion
- Bars float in from the baseline; the account list animates in and out.
Responsive behavior
- The account panel moves under the chart below 1024px.
Performance
- Sample data is plain arrays at the top of the file. Replace them with your API data and keep the shapes.
Notes for AI
- Order is start, new, expansion, contraction, churn, end; keep totals consistent.
This page as Markdown, for assistants and coding agents:
/blocks/mrr-waterfall/markdownThe full library index for assistants is at /llms.txt.
Lode222 doc pagesllms.txt