animui
ComponentsBlocksDocsPackageTry the demo
Introduction
Installation
Theming
Motion
AI guide
Changelog
Metrics dashboard
KPI drilldown
Metric explorer
Revenue explorer
MRR waterfall
Cohort retention
Usage forecast
Journey flow
Choropleth explorer
Connected scatter
Market terminal
Budget variance
Small multiples
Line replay
AI chat
AI composer
Agent run
AI side panel
SidebarPro4
Page header
Command palette
Notification center
Empty states
Search resultsPro
Login and sign up5
OTP input
Multi-step formPro
Settings page
Settings command
Security settings
Billing overview
Usage billing
Cancel flow
Team members
Invite people
Team directory
Roles and permissions
API keys
Webhooks
Integrations
Environment variables
Plan comparison
Pricing calculatorPro
Usage pricingPro
Cart drawerPro
Checkout summaryPro
Invoice studio
Wallet card
Product listing
Product detail
Inbox triage
Support conversation
Support widget
Help centerNew
File upload
Media playerPro
Week calendar
Availability picker
Project board
Release readiness
Kanban boardNew
Hero section
Hero signupPro
Scroll storyPro
Spotlight gridPro
Feature bentoPro
Comparison table
Logo marquee
Studio perspectivesPro
Stats band
Changelog feed
FAQ section
Contact section
Team showcasePro
Blog grid
Site header
Site footer
CTA section
Newsletter signup
Activity terrain
Revenue globe
Customer galaxy
Semantic zoom
Layout morph
What’s new8 new
BlocksRevenue explorer

Revenue explorerPro

A SaaS revenue chart you zoom with a brush while paths, axes and figures glide to the range.

Live block · sample data

Recurring revenue

Sep 2025 – Aug 2026

MRR
$2.56M$00123456789.0012345678900123456789M
+42.3%since Aug 2025
Net new per month
$63.3k$0012345678900123456789.00123456789k
+44.1%vs previous 12 months
Churn rate
1.53%00123456789.0012345678900123456789%
−0.26 ptsvs previous 12 months
−$25k$0$25k$50k$75k$100kSepOctNovDec2025FebMarAprMayJunJulAugSepOctNovDec2026FebMarAprMayJunJulAug
20252026
Monthly MRR movements, Sep 2025 – Aug 2026
MonthNewExpansionChurnNet newMRR
Sep 2025$67.6k$20.1k−$27.7k$60k$1.86M
Oct 2025$63.3k$29.7k−$29.8k$63.2k$1.92M
Nov 2025$61k$31.6k−$29.5k$63.1k$1.98M
Dec 2025$47k$31.3k−$29.6k$48.7k$2.03M
Jan 2026$67.2k$32.8k−$33.6k$66.4k$2.10M
Feb 2026$68.3k$28.2k−$31.1k$65.4k$2.16M
Mar 2026$72.5k$31.5k−$34.1k$69.9k$2.23M
Apr 2026$71.9k$31.7k−$35.7k$67.9k$2.30M
May 2026$70.8k$30.2k−$36.4k$64.6k$2.37M
Jun 2026$72k$31.3k−$32.2k$71.1k$2.44M
Jul 2026$66k$30.1k−$37.9k$58.2k$2.50M
Aug 2026$63.4k$33.6k−$35.4k$61.6k$2.56M

When to use

  • Monthly MRR or revenue broken into new, expansion, and churn on an analytics page.
  • Charts where people need to zoom a date range with an overview brush and compare against a prior period.

When not to use

  • Use mrr-waterfall to explain how MRR moved between two points in time.
  • Use metric-explorer for a row of KPI cards that open into a chart.
  • Use bar-chart or sparkline for a small chart inside a card.

Installation

Install animui once, then import any component or block from its typed package entry.

animui · 250 components and blocks

React 19 and React DOM 19 are required. The package includes Free and Pro entries, styles and TypeScript declarations.

npm install https://animui.stracture.net/__local/package.tgz

Load the stylesheet once at your app root, then use the typed component import:

import 'animui/styles.css';
import { RevenueExplorer } from 'animui/revenue-explorer';

Read the Code tab for the implementation files and the API reference below for required props.

Download animui 0.3.0 · Agent guide

Usage

Use this for MRR or other monthly flow metrics on an analytics page. Replace the seeded months in revenue-data.ts with your billing data; the chart, brush and comparison compute everything from that series.

example.tsx
1import { RevenueExplorer } from "animui/revenue-explorer";2 3export default function AnalyticsPage() {4  return (5    <section>6      <RevenueExplorer />7    </section>8  );9}
Built fromAnimated counter

API reference

RevenueExplorer

A monthly revenue chart with series toggles, a comparison mode, a hover scrubber and an overview brush that zooms the range. All figures derive from the seeded months in revenue-data.ts.

No props.

Keyboard interactions

Arrow keys
On the plot, step the scrubbed month. On the brush or its handles, move the window or one edge by a month.
Shift+Arrow keys
Move the brush or a handle by three months.
HomeorEnd
Jump to the range start or end (plot), or to the timeline edges (brush).
Escape
Clears the scrubbed month on the plot.

Accessibility

  • The brush window and both handles are role="slider" with aria-valuenow and month-name aria-valuetext.
  • Series toggles use aria-pressed and the comparison toggle is a role="switch" with aria-checked.
  • The plot is a focusable role="img" with aria-describedby pointing at the live summary.

Motion

  • Paths, axes and ticks glide to the new range on springs while totals roll with Animated counter.
  • Reduced motion jumps values instantly and replaces movement with opacity changes.

Responsive behavior

  • Chart width follows its container through a ResizeObserver, so axes and paths recompute at any width.
  • Below a 560px container padding tightens and the comparison context wraps under the KPIs.
  • The plot uses touch-action pan-y so vertical page scroll still works, while the brush uses touch-action none and pointer capture for dragging.

Performance

  • Geometry is computed from 24 months of data; paths and ticks animate on springs rather than a per-frame loop.
  • It is SVG with no downsampling, so long daily series should be aggregated to months before passing them in.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use for MRR or other monthly flow metrics (new, expansion, churn) on an analytics page.
  • Replace DATA and the month calendar in revenue-data.ts with your billing series; geometry, summaries and y domains are computed from it.
  • No props or callbacks; lift the data into props if you load it at runtime.
/components/blocks/revenue-explorer/markdown

The full library index for assistants is at /llms.txt.

Related

Metric explorerProBlockKPI cards that open into a scrubbable chart and morph between metrics and ranges.MRR waterfallProBlockAn MRR bridge whose floating bars morph by period and open the accounts behind each move.Usage forecastProBlockA billing period usage chart with a forecast cone and a draggable budget that dates the crossing.Cohort retentionProBlockA cohort retention triangle that morphs into retention curves and rewashes by segment.Animated counterComponentGive changing totals a clear sense of movement.
PreviousPage headerNextJourney flow
animui · 84 block pagesllms.txt

On this page

  • Preview
  • When to use
  • When not to use
  • Installation
  • Usage
  • API reference
  • Keyboard
  • Accessibility
  • Motion
  • Responsive behavior
  • Performance
  • Notes for AI
  • Related
View as Markdown