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

# Checkbox 01

> A horizontal row group with a square icon checkbox and a label text beside it.

<Frame>
  ![Checkbox 01](https://ffciaqoksnnzuihswbxs.supabase.co/storage/v1/object/public/components/Elements/Checkboxes/checkbox-simple.png)
</Frame>

## Overview

Checkbox 01 is a simple, interactive checkbox component built in Bubble.io. It consists of an icon acting as the checkbox visual and a text label. It uses a custom boolean state to track whether the checkbox is selected or not, toggling between a checked and unchecked appearance when clicked. It is fully free to use, requires no plugins or custom code, and works on both web and mobile platforms.

## 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 **Checkbox 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                                                                                               |
| --------- | ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| Unchecked | Default state or when 'selected\_' custom state is false      | Displays an empty square icon (material outlined crop\_square) indicating the checkbox is not selected      |
| Checked   | User clicks the group when 'selected\_' custom state is false | Displays a check icon (material outlined check) with a dark background, indicating the checkbox is selected |

<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                                                                         |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| Group - Simple Checkbox is clicked (when selected\_ is false) | Sets the 'selected\_' custom state to true, marking the checkbox as checked    |
| Group - Simple Checkbox is clicked (when selected\_ is true)  | Sets the 'selected\_' custom state to false, marking the checkbox as unchecked |

<Note>
  These workflows are included when you use the **Copy with Workflows** option in the Brikl panel.
</Note>

## Requirements

|             |              |
| ----------- | ------------ |
| License     | Free         |
| Plugins     | None         |
| Custom code | Not required |

## Platforms

| Platform | Supported |
| -------- | --------- |
| Web      | ✅         |
| Mobile   | ✅         |

## License

<Note>
  This component is available on the free plan.
</Note>
