Arham Khan

Storage Breakdown

Dashboards

About

A horizontal storage card with a segmented usage bar, an inline category legend, and available space labeled inside the bar. A Studio Blocks block (arhamkhnz/studio-blocks, MIT) built on base-ui shadcn primitives.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Storage Breakdown to your project and fits it to your theme.

Code

How Storage Breakdown is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Chart08, type StorageUsage } from "@/components/ui/studioblocks-chart-08"

const data: StorageUsage = {
  capacity: 1000,
  categories: [
    { label: "Documents", used: 248.6 },
    { label: "Applications", used: 126.4 },
    { label: "Photos", used: 96.8 },
    { label: "Other Users & Shared", used: 42.5 },
    { label: "macOS", used: 24.7 },
    { label: "System Data", used: 145 },
  ],
};

export default function Example() {
  return (
    <div className="w-full max-w-2xl">
      <Chart08 data={data} />
    </div>
  );
}

Dependencies

More by Arham Khan

View all
  • Radial Menu

    Radial Menu

    535
  • Radial Intro

    Radial Intro

    281
  • Playful Todolist

    Playful Todolist

    174
  • Spring Element

    Spring Element

    138
  • Recent Invoices

    Recent Invoices

  • Developer Workspace Sidebar

    Developer Workspace Sidebar

  • Workspace Sidebar

    Workspace Sidebar

  • Upcoming Renewals

    Upcoming Renewals

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    754
  • Analytics Dashboard

    Analytics Dashboard

    82
  • Creator Dashboard

    Creator Dashboard

    216
  • Insights Dashboard

    Insights Dashboard

    44
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    458
  • serf dashboard

    serf dashboard

    144
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Halden — CRM Dashboard with Sales Pipeline

    Halden — CRM Dashboard with Sales Pipeline

    66