Skip to content
MoonUIMoonUI
ComponentsTemplatesPricing
Sign inGet started

Getting started

  • Introduction
  • Installation
  • CDN
  • Authentication
  • shadcn CLI
  • MCP Server
  • Usage

Components

Foundation25 components
  • Alert
  • Aspect Ratio
  • Avatar
  • Badge
  • Button
  • Button Group
  • Checkbox
  • File Upload
  • Input
  • Kbd
  • Label
  • Radio Group
  • Rating
  • Select
  • Slider
  • Switch
  • Textarea
  • Toggle
  • Toggle Group
  • Separator
  • Tags Input
  • Color Picker
  • Date Picker
  • Simple Editor
  • Input OTP
Layout10 components
  • Accordion
  • Breadcrumb
  • Card
  • Carousel
  • Collapsible
  • ResizablePro
  • Scroll Area
  • StepperPro
  • Table
  • Tabs
Navigation & Overlays11 components
  • Alert DialogPro
  • Command
  • Context MenuPro
  • Dialog
  • Dropdown Menu
  • Hover CardPro
  • MenubarPro
  • Pagination
  • Popover
  • SheetPro
  • Tooltip
Feedback4 components
  • Progress
  • Skeleton
  • Spinner
  • Toast
Data & Analytics4 components
  • Data TablePro
  • Advanced ChartPro
  • DashboardPro
  • WidgetsPro
Navigation4 components
  • Command AI+Pro
  • SidebarPro
  • NavbarPro
  • Navigation MenuPro
AI Chat4 components
  • MessagePro
  • Message ScrollerPro
  • AttachmentPro
  • Conversation MarkerPro
Content Management6 components
  • Advanced FormsPro
  • Form WizardPro
  • Quiz FormPro
  • Credit Card InputPro
  • Phone Number InputPro
  • Rich Text EditorPro
Project Management3 components
  • KanbanPro
  • TimelinePro
  • CalendarPro
Performance & Utility8 components
  • Virtual ListPro
  • Memory Efficient DataPro
  • Lazy ComponentPro
  • Optimized ImagePro
  • Performance MonitorPro
  • Performance DebuggerPro
  • Error BoundaryPro
  • Health CheckPro
Interactive & Animation15 components
  • Animated NumberPro
  • Floating DockPro
  • Text RevealPro
  • Image ComparePro
  • Splash CursorPro
  • GitHub StarsPro
  • Animated ButtonPro
  • Magnetic ButtonPro
  • Magnetic ElementsPro
  • Mouse TrailPro
  • Hover Card 3DPro
  • Spotlight CardPro
  • Floating Action ButtonPro
  • LightboxPro
  • Media GalleryPro
Gesture & Touch7 components
  • Swipeable CardPro
  • Draggable ListPro
  • Pinch ZoomPro
  • Swipe ActionsPro
  • Gesture DrawerPro
  • Click AnimationsPro
  • Touch GesturesPro
Text Animations12 components
  • Text HighlighterPro
  • Typewriter TextPro
  • Scrambled TextPro
  • Word RotatePro
  • Morphing TextPro
  • Flip TextPro
  • Number TickerPro
  • Glitch TextPro
  • Shiny TextPro
  • Wavy TextPro
  • Gradient TextPro
  • Text 3DPro
Animations12 components
  • Animated ListPro
  • Bounce EffectPro
  • Blur FadePro
  • Elastic AnimationPro
  • MarqueePro
  • Parallax ScrollPro
  • Reveal CardsPro
  • Scroll RevealPro
  • Fade TransitionsPro
  • Focus TransitionsPro
  • Path AnimationsPro
  • SVG AnimationsPro
Layouts1 components
  • Bento GridPro
Effects9 components
  • ConfettiPro
  • Cursor TrailPro
  • Glow EffectPro
  • Pixel ImagePro
  • Neon EffectPro
  • ShimmerPro
  • RipplePro
  • SparklesPro
  • SpotlightPro
Backgrounds17 components
  • Grid PatternPro
  • MeteorsPro
  • Aurora BackgroundPro
  • ParticlesPro
  • StarfieldPro
  • Dot PatternPro
  • Grid DistortionPro
  • WavesPro
  • Matrix RainPro
  • Liquid BackgroundPro
  • Mesh GradientPro
  • Glitch BackgroundPro
  • Gradient FlowPro
  • Floating ElementsPro
  • Bubble BackgroundPro
  • Geometric PatternsPro
  • Code SnippetsPro
Special UI1 components
  • Glow CardPro
Showcase8 components
  • iPhone MockPro
  • Android MockPro
  • Safari MockPro
  • GlobePro
  • Dotted MapPro
  • Icon CloudPro
  • Tweet CardPro
  • File TreePro

Advanced

  • Theming
  • Customization
  • CLI
  • Help & Support
  1. Docs
  2. Components
  3. File Upload

File Upload

Free + Pro

Drag & drop file upload with progress tracking and automatic image previews in the free tier, plus an enterprise Pro tier with direct cloud storage integration, duplicate detection, bulk operations, and comprehensive validation.

Pro

What Pro adds to File Upload

The free file upload is MIT-licensed. The Pro version builds on it with:

  • Direct cloud integration: AWS S3, Cloudinary, Firebase
  • SHA-256 duplicate detection
  • Bulk operations with multi-select and grid view
See pricing

Pro features

What the Pro version adds to this component.

  • Duplicate Detection

    SHA-256 file hashing to catch duplicate uploads

  • Rich Previews

    Image and video thumbnails with audio playback

  • Bulk Operations

    Multi-select, bulk delete, and batch processing

  • Cloud Integration

    Direct upload to AWS S3, Cloudinary, or Firebase

  • Image Resize

    Canvas-based image downscaling before upload

  • Status & Progress Tracking

    Six-state per-file tracking with progress, speed, and ETA readouts

  • Validation

    MIME whitelist, size limits, and async custom validation

  • Enterprise Ready

    Custom endpoints, auth headers, and file metadata

Installation

Install via CLI

npx @moontra/moonui-cli add file-upload

Usage

Basic Usage

Pro required

Upload files

Drag & drop files here, or click to select

Max 5 files, 10 MB each

Pro Usage

Pro
Pro required

Examples

Basic Upload

Drag & drop or click to select, with simulated progress and per-file removal

Image Upload with Preview

Image files render an automatic thumbnail preview after selection

Multiple File Types

Accept several types at once and cap the total number of files

Single File

Restrict selection to a single file with multiple={false} and maxFiles={1}

Disabled

Non-interactive dropzone for read-only or gated states

Pro
Pro examples

Advanced Upload with Duplicate Detection

Pro

Enterprise upload with SHA-256 duplicate detection, rich previews, and per-file status tracking

Pro required

Image Gallery with Bulk Operations

Pro

Grid variant with multi-select, metadata, and bulk actions

Pro required

Document Upload with Validation

Pro

MIME whitelist plus an async custom validator for document types

Pro required

Progress Tracking

Pro

Per-file progress reporting via onProgress; speed and ETA are rendered on each file row. Without a serviceConfig the built-in transfer is a demo simulation — wire a cloud integration or onUpload for real uploads

Pro required

Enterprise Configuration

Pro

Custom upload endpoint with authentication headers

Pro required

Compact View

Pro

Space-efficient variant for forms and tight layouts

Pro required

AWS S3 Integration

Pro

Direct upload to Amazon S3 via the built-in serviceConfig integration

Pro required

Cloudinary Integration

Pro

Upload images to Cloudinary with client-side resize before transfer

Pro required

Firebase Storage Integration

Pro

Upload files to Firebase Storage using the built-in serviceConfig integration

Pro required
Previous
Checkbox
Next
Input
MoonUIMoonUI

168 React components. 45 free under MIT, 123 Pro.

Unsubscribe anytime.

Product

  • Components
  • Templates
  • Pricing

Resources

  • Documentation
  • GitHub
  • Support

Legal

  • Privacy
  • Terms
  • Refund Policy
Made by Moontra Software
  • X
  • LinkedIn
  • GitHub
  • YouTube