No results found

FileUpload

A component that enables users to upload files through drag-and-drop or file selection.

Drag and drop files here or

Basic Usage

The FileUpload component provides an interface for file uploads through drag-and-drop or file selection.

<FileUpload.Root>
  <FileUpload.Input />
  <FileUpload.Dropzone>
    <p>Drop files here or</p>
    <FileUpload.Trigger>Browse</FileUpload.Trigger>
  </FileUpload.Dropzone>
</FileUpload.Root>