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

> Horizontal checkbox row with an icon and label text, supporting strikethrough on selection.

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

## Overview

Checkbox 03 is a interactive checkbox component that displays a square icon alongside a text label. When clicked, it toggles a custom 'selected' state, changing the icon to a checkmark and applying a strikethrough style to the label text, mimicking a to-do item completion interaction.

## 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 03** 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                                                                                                     |
| ---------- | ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| Selected   | User clicks the group when 'selected\_' custom state is false | Icon changes from an empty square to a filled checkmark, and the label text renders with strikethrough formatting |
| Unselected | User clicks the group when 'selected\_' custom state is true  | Icon reverts to an empty square and the label text displays normally without strikethrough                        |

<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 'Checkbox W/ Strikethrough Text (Checkbox 03)' is clicked (when selected\_ is false) | Sets the custom state 'selected\_' to true on the group element  |
| Group 'Checkbox W/ Strikethrough Text (Checkbox 03)' is clicked (when selected\_ is true)  | Sets the custom state 'selected\_' to false on the group element |

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