File Upload Field Input

File Upload Field Input: Card-style file upload with drag-and-drop zone, browse button, format/size hints, typed file rows, and remove actions. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install File Upload Field Input

npx motion-ui-skill add file-upload-field-input

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • lucide-react
  • react
  • tailwind-merge

Source files

File Upload Field Input

Card-style file upload with drag-and-drop zone, browse button, format/size hints, typed file rows, and remove actions.

Install

npx motion-ui-skill add file-upload-field-input

Dependencies

  • clsx
  • lucide-react
  • react
  • tailwind-merge

Usage

"use client";

import { FileUploadFieldInput } from "@/components/inputs/file-upload-field-input";

export function FileUploadFieldInputDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <FileUploadFieldInput />
    </div>
  );
}

API Reference

FileUploadFieldInput

Prop Type Default Required Description
className string — No Additional CSS classes

Browse this category