The input element is commonly used to upload a single file or multiple files from the user's machine to the server. This element is also a part of form-control.

Basic File Input

Lets get started with the basic file input element through an example.

File Input Sizes

There will always be size options. Because size matters. Append the form-control--{size} class to the form-control element.

Disabled State

Follow this examples to apply the disabled option.

Custom File Input

Let's customize the file input with TailwindCSS.