dorkhub

react-filemanager

React file explorer / file browser component

svar-widgets
JavaScript727 forksMITupdated 1 month ago
visit the demogit clone https://github.com/svar-widgets/react-filemanager.gitsvar-widgets/react-filemanager

SVAR React File Manager | File Explorer

🌐 Website • 💡 Getting Started • 👀 Demos

npm License npm downloads

SVAR React File Manager is a flexible file explorer component for React apps. It offers a familiar interface for browsing, organizing, and previewing files. Thanks to its extensive API for listening, intercepting, and executing data operations, you can integrate it with any backend — from local storage and databases to cloud services.

SVAR File Manager for React - UI preview

✨ Key features:

  • Basic file operations: create, delete, copy, rename, cut, paste
  • Download and upload files
  • Files tree view
  • List and tiles views
  • File preview pane with file information (file size, type, modified date, etc)
  • Split view to manage files between different locations
  • Built-in search box
  • Context menu and toolbar for quick actions
  • Keyboard navigation
  • Used storage info
  • Light and dark themes, with easy customization
  • Localization support
  • Optimized for large datasets with dynamic directory loading
  • Extensive API to listen, intercept, and execute data operations
  • Full TypeScript support
  • React 18 & 19 compatible

🛠️ How to Use

To start using SVAR React File Manager, simply import the package and include the component in your React file:

import { FileManager } from "@svar-ui/react-filemanager";
import "@svar-ui/react-filemanager/all.css";

const files = [
  {
    id: "/Music",
    size: 4096,
    date: new Date(2023, 11, 1, 14, 45),
    type: "folder",
  },
  {
    id: "/Info.txt",
    size: 1000,
    date: new Date(2023, 10, 30, 6, 13),
    type: "file",
  },
];
const myComponent => (<FileManager data={files} />);

See the getting started guide to set up and start using the File Manager in your React projects.

💬 Need Help?

Post an Issue or use our community forum.

more like this

r2

Free open-source Cloudflare R2 desktop client and S3 GUI for macOS, Windows, and Linux. Manage Cloudflare R2, AWS S3, M…

TypeScript50

meine

meine 🌒 - A CLI file manager and system utility built with Textual. It combines intuitive command parsing with rich t…

Python50

frirss

A modern, self-hosted, customizable web frontend for FreshRSS.

TypeScript51

search

search projects, people, and tags