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"
/>