One folder opened inside a drive, with a folder tree in the sidebar, type filters with counts, a grid of file cards with little drawn previews or a dense table, a bulk bar that rises with a rolling count when you pick a few, and ghost files fanning out of an empty sub-folder.
akafolder·file grid
Run this in any project set up for the shadcn CLI. It copies the Folder View source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/folder-view.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 { FolderView } from "@/components/folder-view";
export default function Page() {
return <FolderView />;
}A free React screen in the Product collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Folder View source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| path | string[] | ["Files", "Marketing"] |
| name | string | "Brand refresh" |
| files | FolderFile[] | defaultFiles |
| folders | SubFolder[] | defaultFolders |
| members | string[] | ["AK", "JS", "MV", "LO"] |
| me | string | "AK" |
| defaultEmpty | boolean | false |
| defaultView | "grid" | "list" | "grid" |
| workspace | string | "Northwind" |
| className | string | — |