Imgcli

AI Chat Input

File Drop

Files arriving: a stack of files is dragged into a drop zone that lights as it hovers, and on release each file lands as a row with its own upload bar.

Make a video
Type
Animation
Duration
4.8s
Category
AI Chat Input
Source
Imgcli

Install

$ npx @imgcli/cli add file-drop

Files arriving: a stack of files is dragged into a drop zone that lights as it hovers, and on release each file lands as a row with its own upload bar.

Installation

npx @imgcli/cli add file-drop

Usage

import { FileDrop } from "@/components/imgcli/file-drop";

<FileDrop />

Render at 30 fps for 144 frames (4.8 seconds) with the default props. The preview uses a 960 × 540 canvas.

Use <FileDrop files={[{ name: "tour.mp4", size: "18 MB", upload: 1.3 }]} doneLabel="1 file ready" /> for 144 frames at 30 fps (FILE_DROP_SECONDS).

PropTypeDefaultDescription
files
readonly FileDropFile[]—
zoneLabel
string—
doneLabel
string—
fontFamily
string—A face from the Imgcli font list, or any loaded CSS font stack.
accentColor
string—
theme
Partial<ImgcliTheme>—
mode
"light" | "dark"—
speed
number—

License

MIT. Free for personal and commercial use. Preserve the copyright and license notice.

Copyright (c) 2026 Ricky (Imgcli) <https://imgcli.com>

Frequently asked questions

How do I add File Drop to a Remotion project?

Run npx @imgcli/cli add file-drop in your Remotion project. The CLI copies the editable source into components/imgcli/ under your source root and installs its dependencies.

What is File Drop?

File Drop is a Remotion drag and drop upload animation for React. Files arriving: a stack of files is dragged into a drop zone that lights as it hovers, and on release each file lands as a row with its own upload bar.

What do I need before using File Drop?

Use Node.js 20.19 or newer and an existing Remotion project. Create one with npx create-video@latest. The component is free and MIT licensed.