vibran

File dropzone

Also called: drag and drop upload

A dashed drop area: the border lights up and particles rise while a file hovers over it, and on drop each file joins a list with a thumbnail and progress bar. Refuses wrong types and oversized files.

Preview of File dropzone running live
Copy the promptAdjust colors and speed

When to use it

Uploading documents, product photos, résumés, receipts. The bar advances on its own only as a demo: on a real site use data-simular="nao", listen for the arquivo-enviar event and call progresso(), concluir() and falhar() from your actual upload. Validate the file again on the server.

How to add it to your site

  1. Copy the prompt in the gallery. It comes with the effect's name and the full code. The prompt text is written in Portuguese, and AI builders handle that fine.
  2. Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
  3. Done: the AI adds the effect to your project, just like you saw it here.

Use it in HTML

The effect is plain JavaScript, no library. Just put the data-efeito attribute on the element:

<div data-efeito="soltar-arquivo" data-aceita="image/*,.pdf" data-max="3" data-tamanho-max="10"></div>

More inputs effects

All 14 inputs effects →