EnterUI
DocsComponentsThemesExamplesDonation
Get Started
      • TagsInput
      • FileUpload
      • OTPInput
      • TimeInput

Default usage

  1. EnterUI
  2. /Docs
  3. /Inputs
  4. /Editing and Upload
  5. /Token and File Inputs
  6. /FileUpload
Updated 3 October 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
  • Default usage
  • Import
  • States
  • Accessibility
  • API
  • Styling