fndn/ui

Components

File Upload

Beta

Pick files by dropping them on a zone or choosing them from the system dialog.

Details

Pick files by dropping them on a zone or by choosing them from the system dialog. The drop zone is the empty state's block (icon tile, title, hint) inside a dashed frame; every picked file is a tag (a file glyph, the name, a remove button) with its size beside it, and a refused file is a red tag with the reason. Behaviour by Ark UI's file-upload (Zag): limits on count, size and type. Controlled or uncontrolled.

Behaviour from Ark UI, the file-upload machine of Zag.