Skip to content

Forms

FileUploader

Drag-and-drop file picker with accept, size, multiple, and error handling.

Playground

Live preview generated for FileUploader inside this component page.

This preview is compiled into the VitePress docs build from the published SDK package.

Import

ts
import { FileUploader } from "@morscherlab/mint-sdk/components"

Basic Usage

vue
<FileUploader
  accept=".csv,.xlsx"
  :max-size="100 * 1024 * 1024"
  multiple
  @upload="uploadFiles"
/>

Back to component library

MINT is open source. Made by the Morscher Lab.