@anymux/fs-ui
v0.1.0
Published
React file browser and tree components for AnyMux
Downloads
49
Maintainers
Readme
@anymux/fs-ui
React file browser and tree components for AnyMux file systems.
Installation
pnpm add @anymux/fs-uiUsage
import { FileBrowser } from "@anymux/fs-ui";
import { MemoryFileSystem } from "@anymux/file-system/mem-fs";
const fs = new MemoryFileSystem();
function App() {
return <FileBrowser fileSystem={fs} />;
}Components
- FileBrowser — Full file browser with navigation, file list, and toolbar
- FileTree — Tree view for directory structures
- FileList — Flat file listing with sorting and selection
Requirements
- React 19+
- MobX 6+ and mobx-react-lite
License
MIT
