SaaS revenue analyticsPro
Revenue trend, MRR, ARR, customers and conversion, source mix and a live transactions feed.
What's inside
- 30D / 90D / 1Y trend with comparison
- MRR, ARR, customers, conversion with sparklines
- Revenue by source
- Live transactions feed
When to use
- The revenue overview of a SaaS or commerce admin.
When not to use
- Movement analysis: use revenue breakdown or MRR waterfall.
Installation
Usage
Import it from @/components/blocks/revenue-analytics after installing. It ships with sample data, so it renders straight away; swap in your own data when you're ready.
import { RevenueAnalytics } from "@/components/blocks/revenue-analytics";
export default function Page() {
return (
<main className="mx-auto max-w-6xl p-6">
<RevenueAnalytics />
</main>
);
}API reference
RevenueAnalytics
Revenue trend with comparison, MRR, ARR, customers and conversion with sparklines, revenue by source and a live transactions feed. 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 |
|---|---|
| ←or→ | Change the range |
| Tab | Move through cards |
Accessibility
- Every KPI states its value and change as text.
- The transactions feed is a list with labelled amounts.
Motion
- New transactions slide in; numbers roll on range change.
Responsive behavior
- KPIs are two columns on phones and four from 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
- Prepend new transactions to the feed array from your webhook or event stream; they animate in.
This page as Markdown, for assistants and coding agents:
/blocks/revenue-analytics/markdownThe full library index for assistants is at /llms.txt.
Lode222 doc pagesllms.txt