File Upload Component

Polished file upload component with drag and drop, validation, progress, errors, and removable file rows.

Add to your project

1Connect the Uniquel MCP

Connect Uniquel to your coding agent before using the component ID.

Connect MCP

2Copy the component ID

MCP ID
component:forms/file-upload-component

Works with your AI tools

ClaudeClaude*
CodexCodex*
LovableLovable
Base44Base44
Figma MakeFigma Make
ReplitReplit*
CursorCursor*
v0v0

* Compatible with most projects that use the default React/Next.js framework.

Built With

ReactTailwind CSSSolar Icons

Props

PropTypeDescription
itemsFileUploadItem[]Files and app-supplied upload states
acceptstringNative accepted file types
multiplebooleanAllow more than one file
maxSizenumberMaximum file size in bytes
onFilesSelected(files, rejected) => voidReturns accepted and rejected files
onRemove(id: string) => voidCalled when a file row is removed
disabledbooleanDisable file selection and drop
classNamestringStyles for the outer wrapper

More Forms Components

React Stepper preview

Minimal React stepper with clear completed, current, and upcoming states for multi-step flows.