File Storage Storage Composition
Space by media type, largest first.
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
- Space by media type, largest first.
- Cost composition by category.
- Quota distribution by plan.
Includes
- Composition breakdown
- Sorted horizontal bars
- Fill badge
- 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
- 1 template or blueprint 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 CLI
agentic-ui add file-storage-storage-compositionInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/file-storage-storage-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
stashbox.ts; replace it with your own.
- npm packages
recharts-v2- Registry dependencies
ui-file-storage-chart- Files
2 files
- components/templates/file-storage/components/stashbox/storage-chart.tsx
- components/templates/file-storage/mock-data/stashbox.ts
Related components
File Storage Activity Timeseries
Ingested gigabytes versus finished exports per day.
Details and live previewFile Storage File Detail Panel
File metadata side panel.
Details and live previewFile Storage File List
Document listing with per-row actions.
Details and live previewFile Storage KPI Stats Cards
Ingest, review and quota tiles.
Details and live preview