Finance Spending Composition
Stacked share strip plus a legend grid with amounts and percentages; the strip carries an aria-label and the legend is the textual alternative.
Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.
About this block
What it's for
- Stacked share strip plus a legend grid with amounts and percentages; the strip carries an aria-label and the legend is the textual alternative..
Includes
- Composition
- Tooltip
Works with
- Radix UI and Base UI primitives (pick the one your project uses)
- React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
- Your theme tokens, in light and dark mode
- 4 templates and blueprints on this site use it (below)
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
agentic-ui add finance-spending-compositionnpx shadcn@4.17.0 add @agentic-ui/finance-spending-compositionUsed in
- Type
- Block
- Variants
- Radix UI and Base UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Sample data
- Ships with sample data in
finance.ts; replace it with your own.
- npm packages
- None beyond your project's React and Next.js
- Registry dependencies
lib-finance-tracker-utils- Files
2 files
- components/templates/personal-finance/components/dashboard/spending-categories.tsx
- components/templates/personal-finance/mock-data/finance.ts
Related components
Finance App Header
Header resolves current route and offers layout settings, section switches, density reset and a light/dark toggle.
Details and live previewFinance App Sidebar
Shared navigation highlights current route and includes account summaries; replace branding and account fixtures.
Details and live previewFinance Budget Cards
Envelope pacing list; linear bars clamp at 100 while copy states the amount to go or over plan; zero budget is guarded.
Details and live previewFinance Income Expense Timeseries
MRR vs previous period.
Details and live preview