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

# Alert 17

> Floating cookie consent alert with title, description, and Accept/Decline buttons in a card layout.

<Frame>
  ![Alert 17](https://ffciaqoksnnzuihswbxs.supabase.co/storage/v1/object/public/components/Elements/Alerts/alert-cookie-with-buttons.png)
</Frame>

## Overview

Alert 17 is a cookie consent notification component displayed as a floating group. It presents users with a privacy notice titled 'We Value Your Privacy 🍪' along with a brief description, and two action buttons: 'Accept' and 'Decline'. A close (X) button allows dismissal. When dismissed, a slide-down animation hides the floating group. It is designed for bottom-of-screen placement and is suitable for GDPR or cookie policy compliance use cases.

## 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 **Alert 17** 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                                                         |
| ----------------------------- | ------------------------------------------------- | --------------------------------------------------------------------- |
| Close Button Hovered          | User hovers over the X (Hide FG) button           | Icon color changes to a semi-transparent dark tone (rgba(11,8,9,0.6)) |
| Close Button Not Clickable    | Close button is set as non-clickable              | Close button opacity reduces to 50%                                   |
| Close Button Hidden on Mobile | Current page width is less than or equal to 596px | Close (X) button is hidden                                            |
| Decline Button Hovered        | User hovers over the Decline button               | Background color changes to rgba(245,244,244,1)                       |
| Decline Button Not Clickable  | Decline button is set as non-clickable            | Decline button opacity reduces to 50%                                 |
| Accept Button Hovered         | User hovers over the Accept button                | Accept button opacity reduces to 90%                                  |
| Accept Button Not Clickable   | Accept button is set as non-clickable             | Accept 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 - Hide FG (Alert 17) is clicked | Animates the floating group with a slideDownOut transition (500ms), then hides the floating group 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>
