File Selector Component

Custom file input styling, drag & drop areas, image previews, file lists, and upload progress indicators.

Features: Custom styled inputs, drag-and-drop support, file validation, image thumbnails, progress bars, and detailed file information display.

Basic File Input - Single File

Custom-styled file input replacing the default browser input. Click the button to select a file.

No file chosen
Accepts PDF and Word documents

Basic File Input - Multiple Files

Select multiple files at once. The selected count will be displayed.

No files chosen
Select multiple images

Drag & Drop Area - Single File

Drag and drop a file onto the area, or click to select. Visual feedback during drag operations.

๐Ÿ“ค
Drop file here or click to browse
PNG, JPG up to 5MB

Drag & Drop Area - Multiple Files

Drag and drop multiple files onto the area. Files will be listed below the dropzone.

๐Ÿ“Ž
Drop files here or click to browse
PDF, DOC, DOCX, TXT files

Image Preview with Thumbnails

Select images and see thumbnail previews before uploading. Each preview has a remove button.

๐Ÿ–ผ๏ธ
Drop images here or click to browse
PNG, JPG, GIF, WEBP

File List with Details

Detailed file list showing filename, size, type, and upload status with remove buttons.

๐Ÿ“
Drop files here or click to browse
Any file type

File Validation (Size & Type)

Validate file size and type before accepting. Shows error messages for invalid files.

๐Ÿ–ผ๏ธ
Drop image here or click to browse
PNG or JPEG only, max 2MB

Upload Progress Indicators

Simulated upload progress with progress bars. Click "Upload Files" after selecting to see progress.

โ˜๏ธ
Drop files here or click to browse
Select files then click Upload

Compact Mode - Files Inside Dropzone

Professional, space-efficient layout with files displayed in a grid inside the dropzone. Add data-files-inside="true" to enable compact mode.

๐Ÿ“Ž
Drop files here or click to browse
PDF, DOC, DOCX, TXT files
๐Ÿ–ผ๏ธ
Drop images here or click to browse
PNG, JPG, GIF, WEBP

Ultra-Compact Mode - Form Integration

Minimalist file picker perfect for compact forms. Single-line summary that blends naturally with form fields. Drag files anywhere on the form to see the overlay expand!

Click or drag files
Drag files anywhere on this form to see the overlay!
Features:
  • Single-line display: "๐Ÿ“Ž 3 files (2.5MB) โ€ข Click to view details"
  • Drag overlay: Drag files anywhere on form to expand dropzone
  • Click file count to open positioned popover with file table
  • Floating UI: Smart positioning with auto-flip and arrow
  • Progress tracking: Currently uploading file shown inline
  • Blends with forms: No border, minimal styling
Configuration:
data-files-compact="modal"
data-overlay-target="compact-form"
Type to search or use /p for products, /o for orders, /u for users, /i for invoices

Settings

๐Ÿ‘ค

John Doe

Administrator
  • ๐Ÿ“Š Dashboard
  • ๐Ÿ“ Forms
  • ๐Ÿ“‹ Tables
  • ๐Ÿ“Š Data Grid