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: Sleeve cards that each keep their own reporting period, pairing a share meter with dollar exposure and a manager avatar stack
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
- Capacity figures as a share of a total in one divided panel, each over a segmented meter: use the Capacity Usage block
- One total split across funds on a single donut, each amount and percent in a legend: use the Inflows by Source 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
SLEEVESin data.ts; each period insnapshotsholdsallocation,deltaandexposure, and the meter fill derives fromallocation managerCountis typed apart from themanagersavatars, so the Managers label can disagree with the stack; tie it to your roster- Each card mounts its own uncontrolled
TabsatDEFAULT_PERIOD, so a period switch on one card leaves the others as they were - 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-17.mdget_block("stats-17")npx shadcn@latest add @reui/stats-17Shadcn Portfolio Allocation Block
Portfolio allocation cards for 3 asset sleeves with period tabs, delta badges and segmented meters. Part of the ReUI Shadcn Application Stats blocks collection.
Equities, fixed income and alternatives cards, each on its own 1W, 1M, 3M and 1Y tabs with an allocation share, a signed delta, a 40 bar meter, exposure and managers. ReUI Frame, Badge; shadcn Tabs, Tooltip, Avatar. Asset management, fund dashboards.
It is composed from Avatar, Badge, Button, Frame, Tabs, Tooltip, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Portfolio Allocation 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
- 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 (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 Portfolio Allocation block?
Use it for sleeve cards that each keep their own reporting period, pairing a share meter with dollar exposure and a manager avatar stack.
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 capacity figures as a share of a total in one divided panel, each over a segmented meter, use the Capacity Usage block. For one total split across funds on a single donut, each amount and percent in a legend, use the Inflows by Source 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 Portfolio Allocation block built with?
Can I restyle the Portfolio Allocation 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.