A full file manager screen with a nested folder tree, breadcrumbs, grid and list views, sortable columns, multi-select with Shift and Ctrl, inline rename with validation, new folders, starring, delete with undo, a details panel and a storage breakdown.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { FileManagerScreen } from "@/components/hyperblur-pro/file-manager-screen"
<FileManagerScreen defaultView="list" onOpenFile={(file) => console.log(file.name)} />| Prop | Type | Default | Description |
|---|---|---|---|
| accent | string | "#22d3ee" | Accent color for selection, focus rings and the rename field. |
| nodes | FileManagerNode[] | 25 sample files and folders | Flat list of files and folders with id, parentId (null for the root), name, kind, size in bytes, modified (YYYY-MM-DDTHH:MM) and optional owner and starred. |
| rootName | string | "My files" | Label of the root folder in the tree and breadcrumbs. |
| defaultView | "grid" | "list" | "grid" | View shown first. |
| quotaBytes | number | 2000000000 | Storage quota used by the meter in the sidebar. |
| onOpenFile | (node: FileManagerNode) => void | Called when a file (not a folder) is opened by double click or Enter. | |
| onRename | (id: string, name: string) => void | Called after a rename is committed. | |
| onDelete | (ids: string[]) => void | Called with the ids deleted from the selection bar, details panel or Delete key. |
Source code is included in Pro and above