> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brikl.co/llms.txt
> Use this file to discover all available pages before exploring further.

# File Uploader 04

> Dashed-border file uploader with icon, label, file preview background, and remove button.

<Frame>
  ![File Uploader 04](https://ffciaqoksnnzuihswbxs.supabase.co/storage/v1/object/public/components/Elements/File%20Uploaders/file-uploader-drop-area.png)
</Frame>

## Overview

File Uploader 04 is a styled drag-and-drop file input component that allows users to upload an image file. It displays a dashed bordered container with an image icon and instructional text by default. Once a file is uploaded, the container background switches to show a preview of the uploaded image, the detail group hides, and a remove button appears to reset the selection.

## How to use

<Steps>
  <Step titleSize="h4" title="Open the Brikl panel">
    Navigate to the **Elements** category in the Brikl panel.
  </Step>

  <Step titleSize="h4" title="Copy the component">
    Find **File Uploader 04** and click **Copy**.
  </Step>

  <Step titleSize="h4" title="Paste into your editor">
    Paste it into your Bubble canvas with `Cmd + V` (Mac) or `Ctrl + V` (Windows),
    or right-click on the canvas and select **Paste**.
  </Step>
</Steps>

## States

This component includes conditional states that automatically change its appearance.

| State                       | Trigger                                    | Visual effect                                                                                             |
| --------------------------- | ------------------------------------------ | --------------------------------------------------------------------------------------------------------- |
| Hovered                     | User hovers over the main group            | Background color of the group changes to rgba(245,244,244,1)                                              |
| File Uploaded               | FileUploader element has a non-empty value | Background switches to display the uploaded image, details group hides, and remove button becomes visible |
| Remove Button Hovered       | User hovers over the remove button         | Remove button opacity increases to 90                                                                     |
| Remove Button Not Clickable | Remove button is not clickable             | Remove button opacity decreases to 50                                                                     |

<Note>
  These states are handled natively by Bubble and require no additional setup.
  They will work automatically once the component is pasted into your editor.
</Note>

## Responsive

This component adapts to mobile screens. Font sizes and layout automatically adjust on screens smaller than Bubble's built-in mobile breakpoint.

## Workflows

This component includes pre-built workflows.

| Trigger                                 | Action                                                                                                          |
| --------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| BT - Remove File Uploader 04 is clicked | Resets the main group (GP - File Uploader 04), clearing the uploaded file and restoring the default empty state |

<Note>
  These workflows are included when you use the **Copy with Workflows** option in the Brikl panel.
</Note>

## Requirements

|             |                       |
| ----------- | --------------------- |
| License     | Starter plan required |
| Plugins     | None                  |
| Custom code | Not required          |

## Platforms

| Platform | Supported |
| -------- | --------- |
| Web      | ✅         |
| Mobile   | ❌         |

## License

<Note>
  This component requires a **Starter** plan.
</Note>
