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
BlocksUsage pricing

Usage pricingPro

A pricing calculator that finds your plan as you drag seats and traffic.

Live block · sample data

Estimate your bill

You pay per seat. Each plan includes API traffic up to its limit, then a flat rate per extra million.

Seats0012345678900123456789
GrowthScale
API requests per month0012345678900123456789M
GrowthScale

Save $864$001234567890012345678900123456789 a year

StarterGrowthScale

GrowthGrowth

Recommended above 5 seats and 2M requests

$452$001234567890012345678900123456789per month

Billed monthly, usage included

  • Custom domainsUp to 10Up to 10
  • Audit log90 days90 days
  • Request logs30 days30 days
  • Rate limit1,000 req/s1,000 req/s
  • SupportPriorityPriority

14 days free, then billed as estimated

Growth. Recommended above 5 seats and 2M requests.

Breakdown

GrowthGrowth seats18 × $24
$432$001234567890012345678900123456789
API requests15M used, 5M over at $4 per million
$20$0012345678900123456789
Estimated totalPer month, before tax
$452$001234567890012345678900123456789

When to use

  • Pricing pages for plans priced by seats plus usage.
  • Calculators that should recommend a plan as people move sliders.
  • Monthly and yearly toggles where the saving should be visible in the breakdown.

When not to use

  • Use plan-comparison for a side by side table of fixed tiers.
  • Use usage-forecast to project spend for an existing customer.
  • Use billing-overview for the settings page of someone already subscribed.

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 { UsagePricing } from 'animui/usage-pricing';

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 pricing page for seat and usage based plans. Replace the plan table with your own rates and limits and connect the trial button to signup.

example.tsx
1import { UsagePricing } from "animui/usage-pricing";2 3export default function PricingPage() {4  return (5    <main>6      <UsagePricing />7    </main>8  );9}
Built fromSliderSegmented controlAnimated counterText morphButton

API reference

UsagePricing

A pricing calculator with seat and traffic sliders and a monthly or yearly toggle that recommends a plan, shows its features, and breaks down the cost. Plan rates, limits, and features are sample data.

No props.

Accessibility

  • The plan card and breakdown are labelled sections tied to their headings with aria-labelledby.
  • Plan changes are announced in a polite live region with the plan name and reason.
  • The decorative meter is aria-hidden; the numbers are real text.

Motion

  • Prices roll with the animated counter and plan names morph with text-morph as sliders move.
  • The feature list reflows as items are added or removed for the recommended plan.
  • Reduced motion drops the layout and entrance animations.

Responsive behavior

  • At 780px container width and above the plan card sits in its own column beside the sliders; below that everything stacks.
  • The block caps at 1060px and clips its own overflow, so it fits any page column.

Performance

  • Prices roll with the animated counter and the feature list reflows with layout animation on each slider change.
  • A ResizeObserver drives the height morph of the plan card.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use on a pricing page for seat plus usage based plans.
  • Replace the plan table, rates, and limits with your own; the trial button only sets local state, so route it to signup.
  • Composes animui slider, segmented-control, animated-counter, text-morph, and button.
/components/blocks/usage-pricing/markdown

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

Related

Plan comparisonBlockCompare meaningful differences between plans and billing periods.SliderComponentPick a value or a range on a track that follows your finger.Animated counterComponentGive changing totals a clear sense of movement.Segmented controlComponentSwitch between a small set of related views.Usage forecastProBlockA billing period usage chart with a forecast cone and a draggable budget that dates the crossing.
PreviousChangelog feedNextAI composer
animui · 84 block pagesllms.txt

On this page

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