DocumentManager
@spartanfx/react / DocumentManager
Variable: DocumentManager
constDocumentManager:React.FunctionComponent<IDocumentManagerProps>
A production-ready document management component for displaying and managing files and folders.
Features:
- Grid and list view modes
- File type icons with categories
- Folder organization and navigation
- Drag & drop upload support
- Multi-selection and bulk operations
- Search and filtering
- Sorting (name, size, date, type)
- Actions: copy link, delete, rename, move, download
- Extensible via adapters (SharePoint, etc.)
- Fully accessible
- Themeable
Example
<DocumentManager
items={documents}
onUpload={handleUpload}
onDelete={handleDelete}
currentPath="/documents"
enableMultiSelect
enableCopyLink
/>