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: Capacity used against a total for 3 metrics, each with a percent derived from its figures, a 40 bar meter and a 4 item actions menu
When to use
- A row of 3 or 4 KPI tiles to sit above the content of a page you already have
- One metric card that pairs a headline figure with a meter, a split bar or supporting rows
- A card already written for one topic: leads, tasks, quota, compliance, renewals, adoption, balance or capacity
When not to use
- A whole operations page with a capacity meter, a donut and an exception queue: use the Fulfillment Exceptions block
- Plain figure tiles with a label and a value but no meter under them: use the Deal Invoice Tiles block
- Tiles on a dotted, halftone or line grid backdrop, or records such as profiles or jobs: use the Card blocks
- A metric whose value carries a small trend drawn beside or under it: use the Sparkline blocks
- A whole overview page with a header, summary tiles and a work list or trend under them: use the Dashboard blocks
Agent notes
- Replace
CAPACITY_METRICSin data.tsx with raw numbers; percent and meter fill derive fromvalueandtotal, andformatpicks count or compact USD - Each
DropdownMenuIteminMetricMenu, from View Details to Export Data, has no handler; wire them to your own actions MetricCellandSegmentMeterdivide bytotalunguarded, so a total of 0 prints NaN% or Infinity%- Each page.tsx only centers
Statsin a padded wrapper; mountStatsfrom components/stats.tsx inside your own layout Statstakes no props, fetches nothing and wires no handler, so add props for your own figures and callbacks
https://reui.io/blocks/application/stats/stats-18.mdget_block("stats-18")npx shadcn@latest add @reui/stats-18Shadcn Components in the Capacity Usage Block
Dependencies
- cn
Shadcn Capacity Usage Block
Capacity usage strip of 3 divided metric cells with value over total and segmented meters. Part of the ReUI Shadcn Application Stats blocks collection.
Operational capacity panel for invoices, stock and budget: each cell pairs an icon tile and caption with value of total, a derived percent, a 40 bar meter and an actions menu. ReUI Frame, IconTile; shadcn DropdownMenu, Button. Ops dashboards.
It is composed from Button, Dropdown Menu, Frame, Icon Tile, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Capacity Usage 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 Application Stats blocks to assemble a full screen instead of a single section.
All Shadcn Application Stats 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.
- Stats Overview KPI stat card grid with up or down trend badges and a per-card overflow action menu
- KPI Scorecard Color-block KPI stat cards with delta badge, vs-last-month row, and overflow menu
- Subscription Renewals Subscription stats card with plan-tier segmented bar and expiring-soon renewal list
- Leads Overview Leads overview stats card with range filter, progress bar and segmented returning-leads meter
- Wallet Balance Dark balance stat card with segmented multi-currency allocation bar and topup action
- Rep Performance Staff performance card with KPI trend grid, pipeline progress bar, and activity feed
- Sales & Churn Metrics Three-column stats panel with divided cells, large metric values and trend badges
- Analytics Overview Three-column KPI stat cards with icon tiles, trend badges, and date range footer
- Task Progress Tasks overview stat card with animated completion progress bar and AI finish-time prediction
- Total Revenue Total Revenue stat card with trend badge, dropdown actions menu, and supporting metric rows
- API Quota Usage API call quota usage card with progress bar, billed cost, and renewal date
- Support Metrics Support metrics stat card grid with colored icon tiles and status badges
- Compliance Checks Compliance checks stat card with segmented bar gauge and overflow actions menu
- Adoption Rate Feature adoption stat card with segmented stacked indigo bar chart and actions dropdown
- KPI Callouts Three color-filled hero stat cards with metric, summary, and dark CTA action bar
- Portfolio Allocation Portfolio allocation cards for 3 asset sleeves with period tabs, delta badges and segmented meters
Related Shadcn Application Block Categories
- App Shell (35) App shell layouts with sidebar, rail, or top bar navigation for dashboards, settings panels, and multi-page apps.
- Auth (20) Login, register, forgot password, and two-factor authentication page layouts.
- Card (43) Card components for content display, data summaries, and interactive elements.
- Dashboard (8) Dashboard components and layouts that combine stats, charts, and tables into a complete overview screen.
- Dialog (14) Dialog components for modal windows, alerts, confirmations, and content overlays.
- Empty State (14) Empty state screens and no-data placeholders with recovery actions, onboarding prompts, and contextual guidance.
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 (43) Browse 43 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 (18) Browse 18 Shadcn AI & Agents blocks across 2 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 Capacity Usage block?
Use it for capacity used against a total for 3 metrics, each with a percent derived from its figures, a 40 bar meter and a 4 item actions menu.
The Stats category fits:
- A row of 3 or 4 KPI tiles to sit above the content of a page you already have
- One metric card that pairs a headline figure with a meter, a split bar or supporting rows
- A card already written for one topic: leads, tasks, quota, compliance, renewals, adoption, balance or capacity
For a whole operations page with a capacity meter, a donut and an exception queue, use the Fulfillment Exceptions block. For plain figure tiles with a label and a value but no meter under them, use the Deal Invoice Tiles block. For tiles on a dotted, halftone or line grid backdrop, or records such as profiles or jobs, use the Card blocks. For a metric whose value carries a small trend drawn beside or under it, use the Sparkline blocks. For a whole overview page with a header, summary tiles and a work list or trend under them, use the Dashboard blocks.
What is the Capacity Usage block built with?
Can I restyle the Capacity Usage block?
How should I use Shadcn stats blocks in a real project?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.