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: One revenue figure in USD with a quarter over quarter drop badge and 2 shaded label and value rows under it
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
- Fact tiles for a company or session, each with a logo, badge or avatar group: use the Detail Fact Tiles block
- Several KPI tiles in one row, each with its own delta badge and menu: use the Stats Overview 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
- The revenue figure, currency label, drop
Badgeand its caption are literals inStats, and the badge is always red - Replace
planMetrics, whose labels carry their own trailing colon and whose values are preformatted strings - The 4
DropdownMenuItementries, Settings, Export Data, Pin to Dashboard and Remove, have no handlers - 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://web.dev.reui.io/blocks/application/stats/stats-10.mdget_block("stats-10")npx shadcn@latest add @reui/stats-10Shadcn Components in the Total Revenue Block
Shadcn Total Revenue Block
Total Revenue stat card with trend badge, dropdown actions menu, and supporting metric rows. Part of the ReUI Shadcn Application Stats blocks collection.
Single KPI revenue card: large currency figure, USD label, red trend Badge for quarter-over-quarter change, and stacked metric rows. Built on ReUI Frame and Badge with shadcn Button and DropdownMenu actions. For dashboards, analytics, finance.
It is composed from Badge, Button, Dropdown Menu, Frame, Item, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Total Revenue 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
- 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
- Capacity Usage Capacity usage strip of 3 divided metric cells with value over total 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 (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
- Shadcn AI & Agents Blocks (22) Browse 22 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 Total Revenue block?
Use it for one revenue figure in USD with a quarter over quarter drop badge and 2 shaded label and value rows under it.
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 fact tiles for a company or session, each with a logo, badge or avatar group, use the Detail Fact Tiles block. For several KPI tiles in one row, each with its own delta badge and menu, use the Stats Overview 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 Total Revenue block built with?
Can I restyle the Total Revenue 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.