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
BlocksBilling overview

Billing overviewPro

A billing page where the plan card morphs into a picker and usage, invoices, and card follow.

Live block · sample data

Billing

Fieldnote Labs workspace

Current plan

Billed monthly
GrowthGrowth$199$001234567890012345678900123456789/ month

Renews Oct 14, 2026

15 seats · 1M API calls · 100 GB

Payment method

BusinessFieldnote Labs••••771904/28
Card ending 7719Expires 04/28

Usage this period

Sep 14 – Oct 13
Seats

120012345678900123456789of 150012345678900123456789

80% used · 3 seats left
API callsNear limit

912,480001234567890012345678900123456789,001234567890012345678900123456789of 1M00123456789M

91% used · 87,520 calls left
Storage

38.40012345678900123456789.00123456789GBof 100 GB001234567890012345678900123456789 GB

38% used · 61.6 GB left

Invoices

Sent to Emma Collins
  • Growth planSep 14 – Oct 13$199.00Sep 14, 2026Paid
  • Log retention add-onCard declined by the bank$36.00Sep 3, 2026Failed
  • Onboarding workshopBank transfer, due Sep 27$600.00Aug 28, 2026Due
  • Growth planAug 14 – Sep 13$199.00Aug 14, 2026Paid

When to use

  • The billing settings page of a SaaS app.
  • Pages that show plan, usage, payment method, and invoices together.
  • Plan changes that should happen in place without leaving billing.

When not to use

  • Use plan-comparison or usage-pricing on a public pricing page.
  • Use cancel-flow for the cancellation journey.
  • Use usage-meter to show a single quota elsewhere.

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 { BillingOverview } from 'animui/billing-overview';

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 as the billing settings page of a SaaS app. Load plan, usage, card, and invoices from your billing provider and connect Upgrade, Update, Pay now, and Download to it; every charge in the preview is simulated.

example.tsx
1import { BillingOverview } from "animui/billing-overview";2 3export default function BillingPage() {4  return (5    <main>6      <BillingOverview />7    </main>8  );9}
Built fromButtonBadgeInputSegmented controlText morphAnimated counterAvatar

API reference

BillingOverview

A billing settings page: a plan card that morphs into a plan picker with a monthly or yearly switch and a prorated quote, usage meters that fill when seen, a payment card that edits in place and turns its digits when replaced, and an invoice list with download and pay now. Plan, usage, card, and invoices are simulated.

No props.

Keyboard interactions

Arrow keys, HomeorEnd
Move between plans in the picker.
Escape
Closes the plan picker or cancels card editing.

Accessibility

  • The plan picker is a role="radiogroup" of role="radio" buttons; unavailable plans are disabled.
  • The price quote updates in a polite live region, and actions are announced in a status region.

Motion

  • The plan card morphs into the picker and back inside a region whose height springs; the selected plan highlight glides with a shared layoutId.
  • Changing copy rises into place while the old line lifts away; totals roll with AnimatedCounter and card digits turn one column at a time.
  • Usage bars fill when they scroll into view.
  • Reduced motion makes the morph and fills instant.

Responsive behavior

  • Below 780px container width the plan and payment cards stack; below 700px meters go single column and invoice rows wrap.
  • Below 480px quote buttons stretch full width, and below 340px the card form fields stack.

Performance

  • Usage bars animate once when 30% in view.
  • The invoice list is not virtualized; paginate long billing histories.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use as the billing settings page of a SaaS app.
  • Load plan, usage, card, and invoices from your billing provider and connect confirmPlan, saveCard, pay, and download to it.
  • Quotes prorate a mid-term change for the days left; switching billing period starts a new period today and credits unused time. Replace this with your provider's preview invoice.
  • Composes animui button, badge, input, segmented-control, text-morph, animated-counter, and avatar.
/components/blocks/billing-overview/markdown

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

Related

Usage meterComponentShow what fills an allowance and how close it is to the limit.Plan comparisonBlockCompare meaningful differences between plans and billing periods.Cancel flowProBlockA cancellation flow that answers each reason with a tailored offer and a calm hold-to-cancel.Invoice studioProBlockAn editable invoice with live totals and a clear save flow.Settings pageProBlockAccount settings with a gliding section nav and a save bar that morphs in as you edit.
PreviousIntegrationsNextAPI keys
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