Skip to main content
Version: 1.0.4

DocumentManager

@spartanfx/react v1.0.4


@spartanfx/react / DocumentManager

Variable: DocumentManager

const DocumentManager: 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
/>