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
BlocksInvoice studio

Invoice studioPro

An editable invoice with live totals and a clear save flow.

Live block · sample data

When to use

  • Creating or editing an invoice or quote with line items.
  • Forms that need a live subtotal and total as quantities and rates change.

When not to use

  • Use billing-overview to show past invoices and plan status.
  • Use checkout-flow when the customer is paying.
  • Use sortable-data-table for read-only lists of invoices.

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 { InvoiceStudio } from 'animui/invoice-studio';

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 a starting point for creating an invoice. Persist line items and totals through your own service.

example.tsx
1import { InvoiceStudio, type InvoiceLine } from "animui/invoice-studio";2 3export function NewInvoice() {4  async function save(lines: InvoiceLine[]) {5    await fetch("/api/invoices/draft", { method: "POST", body: JSON.stringify({ lines }) });6  }7  return <InvoiceStudio onSave={save} />;8}
Built fromInputButtonMotion

API reference

2 parts. The first is the root.

InvoiceStudio

An editable invoice with line items, live subtotal and total, and a save draft action. Client details and starting lines are sample data.

PropTypeDefaultDescription
onSave(lines: InvoiceLine[]) => void | Promise<void>–Called with parsed lines when every line has a description. Awaited; a thrown error shows a save error.

InvoiceLine

Type passed to onSave.

PropTypeDefaultDescription
descriptionRequiredstring–Line description.
quantityRequirednumber–Quantity, clamped to zero or more.
rateRequirednumber–Unit rate in USD.

Accessibility

  • The total is an output element with aria-live and aria-atomic.
  • Save progress and validation messages are announced via role="status".
  • Row inputs and remove buttons carry per-line aria-labels.

Motion

  • Totals roll with a short vertical slide and blur when they change.
  • Added and removed lines animate height via layout.
  • Reduced motion uses opacity-only swaps with zero duration.

Responsive behavior

  • Below 760px line columns narrow; below 620px the column header hides and each line becomes a stacked card with its own labels.
  • Below 380px the from and to parties stack into one column.

Performance

  • Totals recompute on each edit and roll with a short slide; line add and remove animate height with layout.
  • Lines are not virtualized, which suits invoices with a few dozen lines.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use for creating or editing an invoice or quote.
  • Replace startingLines and the client header; totals are USD only.
  • Recompute totals on the server; treat onSave data as a draft.
/components/blocks/invoice-studio/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.Number fieldComponentEnter a bounded number with clear increment controls.Sortable data tableComponentCompare structured records with sortable columns.
PreviousProject boardNextPlan comparison
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
Northstar StudioInvoice 2026-041
Issued 19 Sep 2026Due 19 Oct 2026

Invoice

FromNorthstar Studio

44 Hudson Street
New York, NY 10013

Bill toAcme Product

125 Spring Street
New York, NY 10012

WorkQtyRateAmount
$900.00
$1,300.00
$250.00

Thank you for the work together. Payment is due within 30 days.

Subtotal$2,450.00
Tax · 8%$196.00
Total due$2,646.00