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

# Popup 04

> Centered popup with icon, title, description text, and two action buttons in a card layout.

<Frame>
  ![Popup 04](https://ffciaqoksnnzuihswbxs.supabase.co/storage/v1/object/public/components/Elements/Popups/popup-alert-with-icon-warning-bis.png)
</Frame>

## Overview

Popup 04 is an unsaved changes confirmation dialog. It presents users with a warning message indicating they have unsaved changes, along with two action buttons: 'Discard' to dismiss the changes and close the popup, and 'Save Changes' to confirm. It is designed as a modal overlay with a clean white card, an orange icon badge, and a structured layout suitable for form or editor workflows.

## 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 **Popup 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                                                            |
| --------------------------------- | -------------------------------------------------------------- | ------------------------------------------------------------------------ |
| Discard Button Hovered            | Mouse hovers over the Discard button                           | Background color of the Discard button changes to rgba(245, 244, 244, 1) |
| Discard Button Not Clickable      | Discard button is set to non-clickable                         | Discard button opacity reduces to 50%                                    |
| Save Changes Button Hovered       | Mouse hovers over the Save Changes button                      | Save Changes button opacity reduces to 90%                               |
| Save Changes Button Not Clickable | Save Changes button is set to non-clickable                    | Save Changes button opacity reduces to 50%                               |
| Mobile Responsive Text            | Current page width is less than the built-in mobile breakpoint | Title and description text font size reduces to 14px                     |

<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 - Discard button clicked             | Hides the Popup 04 element |
| External trigger button (bTUHr) clicked | Shows the Popup 04 element |

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