> ## 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 02

> Square file uploader with icon, hover state, and a remove button overlay in top-right corner.

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

## Overview

File Uploader 02 is a compact, square-shaped file upload component that allows users to upload a file (such as a profile image or document). It displays an icon placeholder before upload, shows a background image preview once a file is selected, and reveals a dismiss/remove button to clear the uploaded file. It supports hover and filled states for a polished interactive experience.

## 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 02** 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 |
| - | - | - |
| Hover State | User hovers over the group element | Background color changes to a light gray (rgba(245,244,244,1)) with a smooth ease transition |
| File Selected - Background Preview | FileUploader element (bTSPG) has a non-empty value | Group background switches to display the uploaded file as a centered background image |
| Icon Hidden on File Selected | FileUploader element (bTSPG) has a non-empty value | The placeholder icon becomes hidden |
| Remove Button Visible on File Selected | FileUploader element (bTSPG) has a non-empty value | The remove (X) button becomes visible in the top-right corner |
| Remove Button Hover | User hovers over the remove button | Remove button opacity increases to 90% |
| Remove Button Disabled | Remove button is not clickable | Remove button opacity reduces 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 02 is clicked | Resets the parent group (bTSPA), clearing the uploaded file and returning the component to its 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>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.