DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.7K
Sign inGet All-Access
Categories
AI Chat13
Agent Activity5
AI UsageNew AI Usage category with 2 spend blocks2
  • Usage Planner
  • Spend Map

For AI Agents

Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.

Best for: A month to date view of where AI spend goes by model, team, agent and API key, with caps at risk and one item's daily spend and projection

When to use

  • A self-serve planner where an admin sets next month's token volume, model and add-ons against a budget
  • A month to date breakdown of AI spend by model, team, agent and API key, with the caps at risk
  • A budget, run rate or volume discount readout inside an AI product's own account area

When not to use

  • An operator view of provider health, routing and quotas across a whole org: use the AI Ops blocks
  • Staff back office for invoices, subscriptions, dunning and metered charges: use the Billing blocks
  • Public plan tiers or an upgrade paywall shown before anyone has usage: use the Pricing blocks

Agent notes

  • DIMENSIONS holds each split's leaves; their seed spend values must sum to the WORKSPACE spend, because every share divides by it
  • Ask Nimbus answers come from answerFor, a canned stand in; send the question from AskPanel to your model API instead
  • The METRICS Cost or Tokens toggle reorders only the splits and leaves; the budget dial and LeafInspector always show dollars
  • AiUsage takes no props and calls no API; every figure comes from typed constants in components/data.tsx, so swap them for your data
  • Money prints through en-US USD helpers such as formatDollars in formatters.ts, so another currency starts there

Third-party API docs

  • Recharts v3: API reference, docs
  • Motion v12: API reference, docs (the docs follow the latest Motion, with no React API break since v12)
Markdownhttps://reui.io/blocks/ai-agents/ai-usage/ai-usage-2.md
MCPget_block("ai-usage-2")
Installnpx shadcn@latest add @reui/ai-usage-2
Full index for agents:llms.txtReUI MCP setup

Shadcn Components in the Spend Map Block

  • Avatar
  • BadgeReUI
  • Button
  • Chart
  • Dropdown Menu
  • FrameReUI
  • Icon TileReUI
  • Input Group
  • Item
  • Marker
  • Progress
  • Separator
  • Spinner
  • Toggle Group

Dependencies

  • cn
  • motion
  • recharts

Shadcn Spend Map Block

Spend map that fans monthly AI spend out by model, team, agent and API key. Part of the ReUI Shadcn AI & Agents AI Usage blocks collection.

Month to date AI spend as a fan map: a budget dial splits spend by model, team, agent and API key, flags caps at risk and inspects one item's daily spend. ReUI Frame, Badge, IconTile; shadcn Chart, ToggleGroup, DropdownMenu, Progress, InputGroup; Motion. AI spend, cost breakdown.

It is composed from Avatar, Badge, Button, Chart, Dropdown Menu, Frame, Icon Tile, Input Group, and more, so every part of it is a primitive you can restyle with your own design tokens.

What You Can Build With the Spend Map Block

  • Install it with the ReUI registry command in the toolbar above, then swap the placeholder content, data wiring, and business logic for your own.
  • Compare it across all eight ReUI styles and both the Base UI and Radix bases in the customizer before committing to one direction.
  • Combine it with the other Shadcn AI & Agents AI Usage blocks to assemble a full screen instead of a single section.

All Shadcn AI & Agents AI Usage Blocks

The rest of this category, each on its own page with a live preview, the components it is built from, and the install command.

  • Usage Planner Usage planner with a stepped token ruler, model cards and a live spend estimate

Related Shadcn AI & Agents Block Categories

  • AI Chat (13) Conversation surfaces for AI products, from full chat shells to embeddable threads, sheets, and launchers.
  • Agent Activity (5) Agent run views, from live step feeds and approvals to research traces, MCP call tables, and run reports.

All Shadcn Block Groups

Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.

  • Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
  • Shadcn Data Grid Blocks (44) Browse 44 Shadcn Data Grid blocks across 9 categories.
  • Shadcn Charts Blocks (51) Browse 51 Shadcn Charts blocks across 10 categories.
  • Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
  • Shadcn AI & Agents Blocks (20) Browse 20 Shadcn AI & Agents blocks across 3 categories.
  • Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
  • Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.

Frequently Asked Questions

When should I use the Spend Map block?

Use it for a month to date view of where AI spend goes by model, team, agent and API key, with caps at risk and one item's daily spend and projection.

The AI Usage category fits:

  • A self-serve planner where an admin sets next month's token volume, model and add-ons against a budget
  • A month to date breakdown of AI spend by model, team, agent and API key, with the caps at risk
  • A budget, run rate or volume discount readout inside an AI product's own account area

For an operator view of provider health, routing and quotas across a whole org, use the AI Ops blocks. For staff back office for invoices, subscriptions, dunning and metered charges, use the Billing blocks. For public plan tiers or an upgrade paywall shown before anyone has usage, use the Pricing blocks.

What is the Spend Map block built with?

Spend Map uses Avatar, Badge, Button, Chart, Dropdown Menu, Frame, Icon Tile, Input Group, Item, Marker, Progress, Separator, Spinner, Toggle Group. Installing the block through the ReUI registry pulls those dependencies in for you.

Can I restyle the Spend Map block?

Yes. It reads your design tokens, so switching style, radius, base color, font, or icon library in the customizer restyles it without touching the markup.

How should I use Shadcn ai usage blocks in a real project?

Treat them as structured starting points. Keep the layout, hierarchy, and interaction ideas that work, then replace placeholder content, data wiring, and business logic with your own product requirements.
PreviousUsage Planner

Start building with ReUI Pro today.

Every Pro block, every style, and every future addition, with one license for unlimited projects.

Get All-Access

From $249, once. Lifetime updates.

Application

  • App Shell
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats2 meter cards moved here from Charts, 17 in all
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedAdded 2 new Data Grid Advanced blocks, 5 in all
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area ChartAdded a new Inbound Leads area chart block
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sankey ChartNew Sankey Chart category with 3 flow chart blocks
  • Slope ChartNew Slope Chart category with 2 rank-shift chart blocks
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity
  • AI UsageNew AI Usage category with 2 spend blocks

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Users
  • Digital TwinNew Digital Twin category with 2 interactive 3D blocks

Templates

  • E-commerce
  • SaaS
  • Dashboard
  • Landing
  • All templates

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist
  • Shop Hero

Marketing

  • Blog
  • Compare
  • Contact
  • CTA
  • FAQ
  • Hero
  • How It Works
  • Pricing

Resources

  • Components
  • Blocks
  • Icons
  • MCP for Agents
  • Docs
  • Support
  • Pricing
  • Tailwind Plus Alternative
  • Roadmap(has updates coming soon)
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3.7K
  1. Blocks
  2. AI & Agents
  3. AI Usage
  4. Spend Map
MarkdownShare

Shadcn Spend Map

Month to date AI spend as a fan map: a budget dial splits spend by model, team, agent and API key, flags caps at risk and inspects one item's daily spend. ReUI Frame, Badge, IconTile; shadcn Chart, ToggleGroup, DropdownMenu, Progress, InputGroup; Motion. AI spend, cost breakdown.