# Dropzone Fileupload

DropzoneJS is an open source library that provides drag’n’drop file uploads with image previews.

#### Step 1

Add dropzone stylesheets before atmos to make sure we override styles to fit our theme

```markup
<link rel="stylesheet" href="assets/vendor/dropzone/dropzone.css">
```

#### Step 2

Include JavaScript file before closing body tag

```markup
<script src="assets/vendor/dropzone/dropzone.js" type="text/javascript"></script>
```

#### Step 3

Add `.dropzone` to initialize dropzone plugin with default options.

```markup
<form class="dropzone" action="/">
    <div class="dz-message">
        <h1 class="display-4">
            <i class=" mdi mdi-progress-upload"></i>
        </h1>
        Drop files here or click to upload.<BR>
        <SPAN class="note needsclick">(This is just a demo dropzone. Selected
        files are <STRONG>not</STRONG> actually uploaded.)</SPAN>
        <div class="p-t-5">
            <a href="#" class="btn btn-lg btn-primary">Upload File</a>

        </div>
    </div>
</form>
```

{% embed url="<https://www.dropzonejs.com/>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.atomui.com/form-elements/dropzone-fileupload.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
