File explorer
Files and folders in a hierarchy, Drive-like: the folder tree, the current folder as a list or a grid, the details of the selection, under a toolbar with the path and your actions. Folders load lazily. Drag and drop — inside, or files from the system — is reported, never performed: the app moves, then refreshes.
| Class | Effect | Type |
|---|---|---|
.file-explorer | The frame; its height is --file-explorer-height. | root |
.file-explorer-xs.file-explorer-sm.file-explorer-md.file-explorer-lg.file-explorer-xl | Sets size, one class per value. | axis size |
.file-explorer-actions | Your toolbar snippet. | part |
.file-explorer-content | The current folder; focusable, walked with the arrows. | part |
.file-explorer-details | The details pane, while something is selected. | part |
.file-explorer-empty | Drawn by the component; you never opt into it. | part |
.file-explorer-entry | Drawn by the component; you never opt into it. | part |
.file-explorer-grid | The grid view. | part |
.file-explorer-icon | A node icon; data-kind="folder" takes the folder colour. | part |
.file-explorer-item | One file or folder; aria-selected, data-drop while a valid drop hovers it. | part |
.file-explorer-main | Drawn by the component; you never opt into it. | part |
.file-explorer-menu | The context menu. | part |
.file-explorer-meta | Drawn by the component; you never opt into it. | part |
.file-explorer-name | Drawn by the component; you never opt into it. | part |
.file-explorer-path | The path, a .breadcrumbs. | part |
.file-explorer-table | The list view, sortable by name, date and size. | part |
.file-explorer-thumb | Drawn by the component; you never opt into it. | part |
.file-explorer-toolbar | Path, actions and the view toggle. | part |
.file-explorer-tree | The folder tree. | part |
.file-explorer-tree-item | One folder in the tree; aria-current on the shown one. | part |
.file-explorer-twisty | The chevron that expands a branch. | part |
.file-explorer-view | Drawn by the component; you never opt into it. | part |
.file-explorer-views | The list / grid toggle. | part |