185
A cloud drive home with a sidebar of places and quick access, start-from-template cards, and folders that glide between a card grid and a tidy table when you switch views, with search, sort and stars.
akafiles·folders·cloud drive
Run this in any project set up for the shadcn CLI. It copies the Drive source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/drive.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { Drive } from "@/components/drive";
export default function Page() {
return <Drive />;
}A free React screen in the Product collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Drive source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| title | string | "Files" |
| folders | FileFolder[] | defaultFolders |
| templates | FileTemplate[] | defaultTemplates |
| usedGb | number | 42.6 |
| totalGb | number | 100 |
| defaultView | "grid" | "list" | "grid" |
| workspace | string | "Northwind" |
| onOpenFolder | (folder: FileFolder) => void | — |
| className | string | — |