> ## Documentation Index
> Fetch the complete documentation index at: https://docs.evidence.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Tabs

> A tabs component that organizes content into multiple panels.

![Basic Usage](https://mintcdn.com/evidence/ImoR9rIJqT9N0Esa/images/components/tabs/tabs.png?fit=max\&auto=format\&n=ImoR9rIJqT9N0Esa\&q=85\&s=7fc4b777e196466e49d4e77646217667)

```liquid theme={null}
{% tabs %}
	{% tab title="Tab 1" icon="trending-up" %}
		Content for tab 1
	{% /tab %}
	{% tab title="Tab 2" icon="alert-circle" %}
		Content for tab 2
	{% /tab %}
{% /tabs %}
```

## Examples

### Basic Usage

![Basic Usage](https://mintcdn.com/evidence/ImoR9rIJqT9N0Esa/images/components/tabs/tabs.png?fit=max\&auto=format\&n=ImoR9rIJqT9N0Esa\&q=85\&s=7fc4b777e196466e49d4e77646217667)

```liquid theme={null}
{% tabs %}
	{% tab title="Tab 1" icon="trending-up" %}
		Content for tab 1
	{% /tab %}
	{% tab title="Tab 2" icon="alert-circle" %}
		Content for tab 2
	{% /tab %}
{% /tabs %}
```

### Well Variant

![Well Variant](https://mintcdn.com/evidence/ImoR9rIJqT9N0Esa/images/components/tabs/example-1.png?fit=max\&auto=format\&n=ImoR9rIJqT9N0Esa\&q=85\&s=c3172bf113b4bff2c440c566ecd6f62f)

```liquid theme={null}
{% tabs variant="well" %}
	{% tab title="Tab 1" icon="trending-up" %}
		Content for tab 1
	{% /tab %}
	{% tab title="Tab 2" icon="alert-circle" %}
		Content for tab 2
	{% /tab %}
{% /tabs %}
```

## Attributes

**variant** `string` (default: default)

Visual style variant of the tabs

**Allowed values:**

* `default`
* `well`

**full\_width** `boolean` (default: false)

Whether the tabs should take the full width of their container

**color** `string`

Custom color for active tab text and underline. Uses CSS color values.

**align** `string` (default: left)

Horizontal alignment of tabs. Note: align right only affects the default variant.

**Allowed values:**

* `left`
* `right`

**print\_break** `string` (default: auto)

Controls page breaks inside this component in PDF exports. `auto` allows content to flow across pages, `avoid` attempts to keep all content together on one page.

**Allowed values:**

* `auto`
* `avoid`

**width** `number`

Set the width of this component (in percent) relative to the page width

## Allowed Children

* [tab](https://docs.evidence.dev/components/tab.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.