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 globe

Revenue globePro

A dotted globe where live payments arc home to headquarters, with a replayable day.

Live block · sample data

Payments today

40 cities settling to San Francisco. Drag to spin, pick a city to fly there.

Tuesday, 22 September

$3,941,092 revenue today from 178,412 payments as of 16:42 UTC. Americas $1.10M, EMEA $1.56M, APAC $1.29M. London leads.

16:42:00 UTC
00:0006:0012:0018:0024:00
Revenue today$3,941,092$3,941,092
Payments178,412178,412
Last hour$303,144$303,144

Regions

Today vs forecast

Top cities

Today

Revenue by city today, as of 16:42 UTC
CityRegionRevenuePayments
San FranciscoAmericas$132,4725,153
New YorkAmericas$224,2529,865
TorontoAmericas$87,6044,136
ChicagoAmericas$83,6883,837
AustinAmericas$75,2722,955
SeattleAmericas$67,8403,195
Los AngelesAmericas$89,8444,314
MiamiAmericas$49,2842,590
Mexico CityAmericas$50,0042,151
BogotáAmericas$27,8761,342
LimaAmericas$18,984919
São PauloAmericas$104,1685,010
Buenos AiresAmericas$46,6281,954
SantiagoAmericas$38,0881,435
LondonEMEA$334,12413,854
DublinEMEA$68,2763,475
ParisEMEA$168,7528,276
BerlinEMEA$169,5487,601
AmsterdamEMEA$112,2085,168
StockholmEMEA$124,5604,007
MadridEMEA$91,0964,290
MilanEMEA$79,4763,971
IstanbulEMEA$62,6323,289
Tel AvivEMEA$90,8884,345
DubaiEMEA$90,2804,434
LagosEMEA$40,5802,305
NairobiEMEA$39,0081,968
Cape TownEMEA$84,5241,932
TokyoAPAC$197,8049,726
SeoulAPAC$112,0885,604
ShanghaiAPAC$131,6844,964
Hong KongAPAC$92,9964,541
SingaporeAPAC$133,6286,185
BengaluruAPAC$127,4086,468
MumbaiAPAC$113,0764,539
JakartaAPAC$66,4323,523
ManilaAPAC$56,0442,461
SydneyAPAC$138,8166,811
MelbourneAPAC$80,8524,179
AucklandAPAC$38,3081,640

When to use

  • Revenue or operations overviews showing where payments come from right now.
  • Showcase pages where a live globe with arcs and a day timeline adds impact.

When not to use

  • Use a table or bar-chart when exact regional numbers matter more than the view.
  • Use customer-galaxy to explore accounts rather than transactions.
  • Use revenue-explorer for revenue over time.

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 { RevenueGlobe } from 'animui/revenue-globe';

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 on a revenue or operations overview to show where money comes from right now. Swap minuteTx in globe-data.ts for a query on your payments table; totals, arcs and replay all derive from it.

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

API reference

RevenueGlobe

A dotted canvas globe where payments arc into headquarters, with a scrubbable day timeline, replay and region and city breakdowns. Takes no props; cities, regions and the transaction stream are sample data in globe-data.ts.

No props.

Keyboard interactions

Arrow keys
Spins the globe when it has focus.
Escape
Clears the selected city or region.
Arrow keys (timeline)
Moves the time by five minutes, or an hour with Shift.
Page uporPage down
Moves the time by an hour.
HomeorEnd
Jumps to midnight or back to live.

Accessibility

  • The globe is a focusable region with a roledescription, instructions in its label and a text summary of revenue.
  • The timeline is a role="slider" whose value text reads the UTC time.
  • Region and city rows are aria-pressed buttons, and a polite live region announces changes.

Motion

  • Payments draw as arcs to headquarters while the globe drifts; drags rubber-band past the latitude limit.
  • The tooltip follows the pointer on a spring, and totals roll with the animated counter.
  • Reduced motion stops the auto rotation, hides replay and play controls, and shows the current state as Now.

Responsive behavior

  • Below an 880px container the panel moves under the globe and the globe height follows width with clamp.
  • Below 600px the panel drops to one column; below 400px the clock takes its own row.
  • The timeline slider uses touch-action none and pointer capture, so scrubbing works on touch.

Performance

  • Draws on a 2D canvas with devicePixelRatio capped at 2.
  • The animation loop pauses offscreen via IntersectionObserver and in hidden tabs.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use on a revenue or operations overview to show where money comes from right now.
  • Swap minuteTx in globe-data.ts for a query on your payments table, and set HQ, CITIES and REGIONS to your own.
/components/blocks/revenue-globe/markdown

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

Related

Customer galaxyProBlock2,400 accounts as a drifting galaxy that spirals into clusters by plan, region or health.Activity terrainProBlockA 3D terrain of hourly activity you can orbit, zoom, fly into and flatten into a heatmap.Animated counterComponentGive changing totals a clear sense of movement.Revenue explorerProBlockA SaaS revenue chart you zoom with a brush while paths, axes and figures glide to the range.
PreviousActivity terrainNextCustomer galaxy
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