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.
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
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% |
These states are handled natively by Bubble and require no additional setup.
They will work automatically once the component is pasted into your editor.
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 |
These workflows are included when you use the Copy with Workflows option in the Brikl panel.
Requirements
| License | Starter plan required |
| Plugins | None |
| Custom code | Not required |
Platforms
| Platform | Supported |
|---|---|
| Web | ✅ |
| Mobile | ❌ |
License
This component requires a Starter plan.
