Skip to content

File Upload

Renders a drag-and-drop file upload interface with visual feedback. It handles file selection and supports single or multiple files. Use it to let users upload files through drag-and-drop or a custom trigger. The interface shows a overlay when files are being dragged.

byJulien Thibeautfrom Prompt Kit

Loading preview

Installation

terminal
pnpm dlx layro-cli add @ibelick/file-upload

New project? Start with init. Writes third-party code and installs packages with scripts off.

Code

Demo

Sign in to see the code

Free, with GitHub, Google or email. The install command above works without an account.

Sign in

Versions

  1. 1.0.0 · current

    Nov 7, 2026

    First release.

Similar components