# Tab item

## Overview

A configurable tab item block for creating tabbed content sections in Shopify themes. This block is designed to work with tab navigation systems and displays content only when its corresponding tab is selected.

## Block limitations

This is a private block. It is intended for use only within specific parent blocks and should not be added directly to sections.

## Common use cases

* Use consistent tab names across related tab items
* Consider responsive visibility settings for different content on mobile/desktop
* Adjust spacing and gap size to maintain visual consistency with your theme
* Configure color schemes to match your theme design

## Compatible blocks

The following blocks can be nested within this block:

* All theme blocks
* App blocks

## Block settings

### General

| Setting                | Description                 | Options                   |
| ---------------------- | --------------------------- | ------------------------- |
| Show advanced settings | Reveals visibility settings | Checkbox (default: false) |

| Setting                   | Description                                                                    | Options                                                                                                                           |
| ------------------------- | ------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |
| Tab key                   | Unique identifier for this tab item (must match tab name in parent tabs block) | Text input                                                                                                                        |
| Enable horizontal padding | Adds horizontal padding to the tab content                                     | Checkbox (default: false)                                                                                                         |
| Enable vertical padding   | Adds vertical padding to the tab content                                       | Checkbox (default: true)                                                                                                          |
| Gap size                  | Controls spacing between child blocks                                          | None, Default (default), XS, SM, MD, LG, XL                                                                                       |
| Color scheme              | Controls the background and text colors                                        | Body (default), Neutral, Accent 1, Accent 2, Accent 3, Shade 1, Shade 2, Shade 3, Primary, Secondary, Tertiary, Blur, Transparent |
| Vertical alignment        | Controls vertical alignment of content                                         | Top, Middle, Bottom                                                                                                               |
| Visibility                | Controls when the block is visible                                             | <p>All (default), Mobile only, Desktop only<br><br>Visible when <strong>Show advanced settings</strong> is on</p>                 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.brickspacelab.com/slab/content/blocks/layout/tabs/tab-item.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
