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

> Centered confirmation popup with title, description text, and Cancel/Okay action buttons.

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

## Overview

Popup 01 is a confirmation dialog component that presents users with a prompt asking them to confirm an action. It contains a message group with a bold title ('Are you sure?') and a descriptive subtitle, along with an action group featuring a Cancel button (light style) and an Okay button (dark style). It is designed for web use and includes workflows to show and hide the popup based on button interactions.

## 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 01** 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                                                    |
| ---------------------------- | -------------------------------------------------------------- | ---------------------------------------------------------------- |
| Cancel Button Hovered        | User hovers over the Cancel button                             | Cancel button background color changes to rgba(245, 244, 244, 1) |
| Cancel Button Not Clickable  | Cancel button is disabled/not clickable                        | Cancel button opacity reduces to 50%                             |
| Okay Button Hovered          | User hovers over the Okay button                               | Okay button opacity reduces to 90%                               |
| Okay Button Not Clickable    | Okay button is disabled/not clickable                          | Okay button opacity reduces to 50%                               |
| Mobile Breakpoint - Title    | Current page width is less than the built-in mobile breakpoint | Title text font size changes to 14px                             |
| Mobile Breakpoint - Subtitle | Current page width is less than the built-in mobile breakpoint | Subtitle text font size changes 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 - Cancel (Popup 01) is clicked             | Hides the Popup 01 element |
| A separate trigger element (bTSim) is clicked | Shows the Popup 01 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>
