File Dropzone
Allows users to drag and drop files for upload, with optional previews and validations.
Component source
Example
{#each files as file, i}
{#if file.url !== null}
{:else}
{/each}
{/if}
{#if file.progress < 100}
{file.name}
{formatFileSize(file.size)}