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

# Tabs 02

> Horizontal tab bar with three pill-style buttons in a rounded white container.

<Frame>
  ![Tabs 02](https://ffciaqoksnnzuihswbxs.supabase.co/storage/v1/object/public/components/Elements/Tabs/tabs-gray-background.png)
</Frame>

## Overview

Tabs 02 is a navigation tab component featuring three tab buttons (Tab 1, Tab 2, Tab 3) arranged in a horizontal row. It uses a custom state on the parent group to track the currently active tab, highlighting the selected tab with a light background and dark text while inactive tabs remain muted. Clicking any tab updates the shared state, enabling other elements on the page to conditionally show or hide content based on the active tab index.

## 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 **Tabs 02** 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                                                                                                   |
| ---------- | -------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| Hovered    | User hovers over any tab button                                                                    | Font color changes to a slightly darker muted tone (rgba(113,113,123,1))                                        |
| Active Tab | The parent group's custom state 'tabs\_item\_' equals the button's own 'item\_' custom state value | Button background changes to light gray (rgba(245,244,244,1)) and font color changes to dark (rgba(27,23,24,1)) |

<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 - Tab 1 (Tabs 02) is clicked | Sets the parent group's custom state 'tabs\_item\_' to Tab 1's item\_ value (1) |
| BT - Tab 2 (Tabs 02) is clicked | Sets the parent group's custom state 'tabs\_item\_' to Tab 2's item\_ value (2) |
| BT - Tab 3 (Tabs 02) is clicked | Sets the parent group's custom state 'tabs\_item\_' to Tab 3's item\_ value (3) |

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