# Application Media and Gallery: Storage Usage Panel

A storage quota panel with a used versus quota headline, a segmented usage bar by type, per type breakdown rows, and a trash reclaim row.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/storage-usage-panel
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Media and Galleries](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/storage-usage-panel.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-media-gallery-storage-usage-panel
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button
- Installs to: `@/components/blocks/application-pro/media-gallery/storage-usage-panel`

## About this block

Storage Usage Panel is the quota surface for a media
library settings page: a header with a HardDrive icon, a
Storage title, and a Manage plan button, then a large
38.2 GB of 50 GB used headline. Below it a segmented bar
splits the used space by media type, and a ruled
breakdown lists Images, Videos, Documents, and Other,
each with a color swatch, file count, size, and percent
share. A trash reclaim row notes that deleted files count
toward the quota for 30 days and offers an Empty trash
action.

Segments are one array with label, file count, size,
percent, and a foreground-opacity swatch that colors both
the bar and the breakdown dots. The bar widths scale each
percent so the four segments fill the used portion of the
track.

## When to use

Reach for this block on a workspace or account settings
page where storage is metered, wired to your usage API.
Surface it near the plan controls so a user who is near
the ceiling can upgrade or clear the trash in one place.

A natural flow around it on an Application Pro page:

**Before**

- [Settings pages](https://www.shadcn-ui-blocks.com/blocks/application-pro/settings-pages)
- [Media library grid](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery)

**After**

- [Billing](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing)
- [Pricing plans](https://www.shadcn-ui-blocks.com/blocks/application-pro/pricing-plans)

## What you can display

One strong use is the media storage meter. Other quota
views:

- **Seat or user quota.** Swap media types for teams and
  count members against a seat limit.
- **Bandwidth usage.** Track delivery gigabytes for the
  month instead of stored files.
- **Near-limit warning.** Recolor the bar and headline
  once used passes a threshold percent.

> Tip: keep the trash reclaim row visible; a user near
> the ceiling often has gigabytes to recover before they
> need a bigger plan.

## More in Application Media and Galleries

- [Album List](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/album-list)
- [Asset Detail Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/asset-detail-panel)
- [Asset Version History](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/asset-version-history)
- [Bulk Media Actions](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/bulk-media-actions)
- [Folder Breadcrumb Bar](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/folder-breadcrumb-bar)
- [Image Crop Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/image-crop-blueprint)
- [Lightbox Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/lightbox-blueprint)
- [Media Library Grid](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/media-library-grid)
- [Media List View](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/media-list-view)
- [Upload Queue Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/upload-queue-panel)
- [Video Trim Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/video-trim-blueprint)
