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
BlocksWallet card

Wallet cardPro

A compact account view with balance, recent activity, and focused money actions.

Live block · sample data

When to use

  • A personal or business balance summary with quick send, deposit, swap, and buy actions.
  • Dashboards that pair a balance with a small history chart and recent activity.
  • Apps with a main and a reserve account shown in one card.

When not to use

  • Use billing-overview for subscription billing and invoices.
  • Use wallet-stack for a stack of payment cards.
  • Use checkout-flow for paying for an order.

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 { WalletCard } from 'animui/wallet-card';

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 a balance summary. The preview uses sample values; connect its actions and amounts to your own verified data.

example.tsx
1import { WalletCard } from "animui/wallet-card";2 3export function AccountSummary() {4  return <WalletCard initialBalanceCents={482_150} />;5}
Built fromButtonInputNumber field

API reference

WalletCard

A wallet view with two accounts, a scrubbable balance chart, activity search, and send, deposit, swap, and buy panels. All balances, history, and actions are local sample state.

PropTypeDefaultDescription
initialBalanceCentsnumber1_248_032Starting balance of the main wallet in cents. The reserve wallet starts at 285,000 cents.

Keyboard interactions

Arrow keys
Move along the balance history via the range input scrubber.

Accessibility

  • The balance is an aria-live region; hidden balances read as "Balance hidden".
  • Action buttons use aria-pressed and aria-controls; focus returns to the action after a submit.
  • Amount errors use role="alert" and aria-describedby on the input.

Motion

  • Balances count to the new value over about 0.75s, and the card resizes on a gentle spring.
  • Panels swap with a short rise and blur; new activity rows expand in place.
  • Reduced motion sets values instantly and disables layout animation.

Responsive behavior

  • The card is a container query root capped at 660px, so it adapts to its slot, not the viewport.
  • At 420px container width padding tightens and action arrows hide; at 280px the wallet switcher drops its label and the footer text shrinks.
  • Chart hover scrubbing is mouse only; touch and keyboard use the range input over the chart.

Performance

  • Balances tween through a motion value over about 0.75s instead of re-rendering per frame.
  • Activity search filters in memory and shows three rows until expanded; the list is not virtualized.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use for a personal or business balance summary with quick money actions.
  • Every action is simulated. Replace initialEntries, balances, and submit() with calls to your ledger, and never trust client amounts.
  • Composes animui Button, DropdownMenu, Popover, and SegmentedControl.
/components/blocks/wallet-card/markdown

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

Related

Billing overviewProBlockA billing page where the plan card morphs into a picker and usage, invoices, and card follow.Wallet stackProComponentFan a stack of cards and lift one out to see its activity.Animated counterComponentGive changing totals a clear sense of movement.
PreviousLogin and sign upNextLogo marquee
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
Available balance
$12,480.32
+$2,016.00 this monthUSD
Last 30 days

Recent activity

  • Client payment18 Sep · Studio North+$850.00
  • Workspace tools16 Sep · Subscription−$48.00
  • Type license14 Sep · Purchase−$12.00