250

File Drop Upload

Dragging a file in lights up the border; on drop a file row appears and the progress bar ends with a check

Form & controlDrag & gestureSwitchUI interactionApp UIGSAPGSAP timeline

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

A drag-and-drop upload area: an upload icon and “Drag files here” in the middle of a dashed frame; when a file is dragged over, the border turns solid, the background lights up faintly and the icon floats up; on drop the area gives a small bounce, a file row (file name + progress bar) pops up from below, the progress bar fills in about 1.3 s, a check icon pops in on the right, and after a second the file row slides up and fades. Clicking the area also opens a file picker. (JS: add a class on dragenter/dragover and read the file name on drop; a GSAP timeline chains the bounce, the file row entrance, the progress bar scaleX 0→1 and the check with back.out)

When you copy it, a note to “match the site’s existing theme colors” is added automatically, so you don’t need to specify colors.

How to use it

  1. Tap “Copy AI prompt”.
  2. Paste it into an AI such as ChatGPT or Claude, and tell it which element on your site to apply it to (for example, the homepage headline or a buy button).
  3. The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.

More form & control effects

346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts

Browse all effects →