EEnterUI
DocsComponentsThemesDonation
Get Started
      • TagsInput
      • FileUpload
      • OTPInput
      • TimeInput
EnterUIDocsInputsEditing and UploadToken and File InputsFileUpload
InputsUpdated 6 May 2026

FileUpload

Native-first file selection and dropzone for product forms.

FileUpload keeps file selection accessible and predictable while providing a refined drop target and compact selected file summary.

#Default usage

File upload

Click the target or drag files onto it.

Code
<FileUpload accept=".pdf,.png" multiple />

#Import

Code
import { FileUpload, Dropzone } from "@froggdesign/enter-ui-react";

#States

Upload states

Invalid and disabled states are visible without becoming loud.

#Accessibility

FileUpload uses a native input type="file" and a keyboard-focusable label target. Enter or Space opens the file picker when enabled.

#API

  • accept, multiple, and maxSize mirror native upload needs.
  • onFilesChange receives accepted files after change or drop.
  • disabled and invalid map to aria state and data attributes.
  • Dropzone is an alias for drop-focused layouts.

#Styling

Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.

PreviousTagsInput
NextOTPInput

On this page

  1. Default usage
  2. Import
  3. States
  4. Accessibility
  5. API
  6. Styling