File Buttons

Svelte Component

Allows you to select files with a single click.

Examples

Monitor your browser's console when adding files.

Usage

ts
let files: FileList;
html
<FileButton bind:files={files} button="btn-filled-accent">Upload File</FileButton>