The JavaScript File Manager (File explorer) is a graphical user interface component for managing the file system that allows users to perform most common file operations, like accessing, editing, and sorting files or folders. This component provides easy navigation to select a file or folder from the file system.
The JavaScript File Manager UI consists of a toolbar, navigation pane, and content pane through which the files or folders in the file system can be accessed and managed. The control’s entire layout can be customized with features like right-to-left alignment, enabling or disabling the toolbar and navigation pane, and switching between views.
The JavaScript File Manager toolbar contains tools for performing various operations like upload file download file, and switch views. The toolbar can also be configured with any custom functionality to be performed on the file system.
The navigation pane allows quick and direct access to a file or folder in a file system where the entire folder hierarchy is listed using a tree view. This can be made visible or hidden as needed.
The content pane displays the files and folders in the file system. The files in the content pane can be displayed in either a large icon view or a details view.
The File Manager control includes all the common operations needed for managing a file system. It includes copy, move, upload, download, edit, create, delete, and sort.
The JavaScript File Manager control enables easy file uploading and downloading in a file system.
Files and folders in the file system can be sorted in either ascending or descending order simply by clicking the column header. Files and folders can be sorted based on name, date created, size, and other details.
The File Manager control contains built-in search functionality that allows you to search for and access a file or folder in the current path and its child folders.
Files and folders can be moved within the file system by dragging and dropping them. Drag-and-drop support can be turned on or off.
Restrict access to files and folders by defining a set of rules for them. Only authorized users will be able to access them.
You can specify the types of files that can be uploaded in the File Manager. Other file types will be restricted from uploading.
The File Manager control has built-in support for the selection of multiple files or folders. Multiple-file selection is useful when a single operation like download or delete needs to be performed for multiple files in the file system.
The File Manager control provides a context menu to list the operations that can be performed with the files and folders. It appears when a file or folder is right-clicked. The context menu items can be customized according to user preferences.
The text of the context menu and tooltips displayed in the user interface can be localized to any supported language. The File Manager control uses a localization library (l10n) to localize the text values.
The context menu improves user interaction with the JavaScript File Manager using a pop-up menu. It appears when a file, folder, or layout is right-clicked. Users can add custom context menu items to the built-in ones.
The File Manager control allows you to manage data from storage services.
Links to the service providers are supplied below.
Amazon S3 bucket file provider.
Microsoft Azure file provider.
Firebase Realtime Database file provider.
JavaScript File Manager layout supports several built-in themes: Material, Bootstrap, Fabric (Office 365), Tailwind CSS, and high contrast. Users can customize any one of these built-in themes or create new themes to achieve their own desired look by either simply overriding the Sass variables or using our Theme Studio application.
Developers have control over all the UI elements and behaviors of the components to provide the best experience to end users through a rich set of developer-friendly APIs.
The File Manager component is also available in Blazor, React, Angular, and Vue frameworks. Check out the different File Manager platforms from the links below:
Easily get started with the JavaScript File Manager using a few simple lines of HTML and TS code example as demonstrated below. Also explore our JavaScript File Manager Example that shows you how to render and configure a File Manager in JavaScript.
<div class="control-section">
<div class="sample-container">
<!-- Initialize FileManager -->
<div id="filemanager"></div>
</div>
</div>
import { loadCultureFiles } from '../common/culture-loader';
import { FileManager, Toolbar, NavigationPane, DetailsView, ContextMenu } from '@syncfusion/ej2-filemanager';
FileManager.Inject(Toolbar, NavigationPane, DetailsView, ContextMenu);
/**
* File Manager full functionalities sample
*/
loadCultureFiles();
let hostUrl: string = 'https://ej2-aspcore-service.azurewebsites.net/';
let fileObject: FileManager = new FileManager({
ajaxSettings: {
url: hostUrl + 'api/FileManager/FileOperations',
getImageUrl: hostUrl + 'api/FileManager/GetImage',
uploadUrl: hostUrl + 'api/FileManager/Upload',
downloadUrl: hostUrl + 'api/FileManager/Download'
},
view: 'Details'
});
fileObject.appendTo('#filemanager');
You can find our JavaScript File Manager demo, which demonstrates how to render and configure the File Manager.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.