A File Manager Screen for Admin Panels
This block is a complete file manager dashboard: a sidebar shell, a Recently Modified card strip, an All Files area with switchable views, and a storage panel with a radial usage meter. It is built entirely from Shadcn UI components and Tailwind utilities, arranged as a two-column layout that stacks on smaller screens and pins the storage panel to the right on xl viewports.
Use it wherever users own documents: DAM tools, client portals, cloud drive products, or the media section of a CMS. If file browsing is your core feature rather than one admin page, the dedicated file managers category collects sibling blocks that pair well with this one.
List and Grid Views Powered by Item and ButtonGroup
The All Files section keeps its view mode in a useState hook and toggles between a Table layout and a card grid built from the Item, ItemMedia, ItemTitle, and ItemActions primitives. A ButtonGroup with list and grid icons drives the switch, and a Tooltip explains each control.
Every file row carries a DropdownMenu with download, rename, copy link, and delete actions, plus type icons from Tabler mapped per file kind: documents, images, video, audio, and archives. Because both views read the same array from data.json, adding a real API only means replacing one import.
The Radial Storage Meter
The storage panel renders a RadialBarChart from Recharts inside Shadcn UI's ChartContainer, showing used versus total gigabytes with a centered percentage Label. The fill color comes from var(--color-storage), which is defined through ChartConfig, so the meter follows your palette without touching SVG code.
Below the chart, a per-type breakdown lists documents, images, video, audio, and ZIP archives with counts and sizes, and an Empty component advertises an upgrade slot you can repurpose for plan promotions or storage warnings.
Token-Driven Colors in Both Themes
Apart from one amber accent on the storage chart, the block avoids hardcoded colors entirely. Cards use bg-background surfaces, secondary text uses text-muted-foreground, and icon chips sit on bg-muted, so switching between dark and light class themes requires zero component edits.
Customization therefore happens in globals.css: change the radius token to soften the cards, adjust muted tones to change density perception, or override the sidebar variables to give the file manager its own chrome while the rest of your app keeps the default theme.
Premium Access and Multi-Framework Builds
File Manager Admin Dashboard is a premium block. The preview is open to everyone, while the source files and the one-line shadcn CLI install (shown with npm, pnpm, yarn, and bun tabs at the top of the page) become available once your account carries All Access, which you can compare on the pricing page.
The block is not limited to React either: subscribers get matching implementations written for Vuejs with shadcn-vue components and for Svelte with shadcn-svelte components, so the same file manager can ship in whichever framework your team runs.







