FileInput
InputsA file upload input.
Preview
Click to upload or drag and drop
SVG, PNG, JPG or GIF (MAX. 800x400px)
Usage
<FileInput bind:files={files} />Props
| Name | Type | Default | Description |
|---|---|---|---|
| files | FileList | undefined | Selected files. |
| accept | string | '' | Accepted file types. |
| multiple | boolean | false | Allow multiple files. |