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

# Tabs and Toggle Panes

[localhost link]: http://localhost:3000/docs/4/app-studio/reference/gallery/tab

[mintlify link]: https://doc.lucidworks.com/docs/4/app-studio/reference/gallery/tab.md

[old doc.lw link]: https://doc.lucidworks.com/app-studio/4.2/1036.md

> [card] Key questions to get you started
>
> Powered by Lucidworks Agent Studio

## Default

The standard toggle pane tabs

![Example](https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/tabs01.png?fit=max\&auto=format\&n=_JCWsGwGCZxJia7w\&q=85\&s=76906db6a1c170b4e9466e4af133e430)

```xml wrap  theme={"dark"}
<toggle:controls labels="Pane 1, Pane 2, Pane 3" panes="panes"></toggle:controls>
<toggle:panes id="panes">
  <toggle:pane>
    <h2>Pane 1</h2>
  </toggle:pane>
  <toggle:pane>
    <h2>Pane 2</h2>
  </toggle:pane>
  <toggle:pane>
    <h2>Pane 3</h2>
  </toggle:pane>
</toggle:panes>
```

## Line

Underlined tabs

![Example](https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/tabs02.png?fit=max\&auto=format\&n=_JCWsGwGCZxJia7w\&q=85\&s=d5f93daac812c4ea0b002271dd9dc0e8)

```xml wrap  theme={"dark"}
<toggle:controls labels="Pane 1, Pane 2, Pane 3" panes="line" styling="line"></toggle:controls>
<toggle:panes id="line">
  <toggle:pane>
    <h2>Pane 1</h2>
  </toggle:pane>
  <toggle:pane>
    <h2>Pane 2</h2>
  </toggle:pane>
  <toggle:pane>
    <h2>Pane 3</h2>
  </toggle:pane>
</toggle:panes>
```

## Pills

Rounded tabs

![Example](https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/tabs03.png?fit=max\&auto=format\&n=_JCWsGwGCZxJia7w\&q=85\&s=d7403837f9ec6cf9407f18b6b2d9afed)

```xml wrap  theme={"dark"}
<toggle:controls labels="Pane 1, Pane 2, Pane 3" panes="pills" styling="pill"></toggle:controls>
<toggle:panes id="pills">
  <toggle:pane visible="true">
    <h2>Pane 1</h2>
  </toggle:pane>
  <toggle:pane>
    <h2>Pane 2</h2>
  </toggle:pane>
  <toggle:pane>
    <h2>Pane 3</h2>
  </toggle:pane>
</toggle:panes>
```

## Simple

No styling

![Example](https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/tabs04.png?fit=max\&auto=format\&n=_JCWsGwGCZxJia7w\&q=85\&s=6b7cebf84479251a59a1971aca427911)

```xml wrap  theme={"dark"}
<toggle:controls labels="Pane 1, Pane 2, Pane 3" panes="simple" styling="simple"></toggle:controls>
<toggle:panes id="simple">
  <toggle:pane visible="true">
    <h2>Pane 1</h2>
  </toggle:pane>
  <toggle:pane>
    <h2>Pane 2</h2>
  </toggle:pane>
  <toggle:pane>
    <h2>Pane 3</h2>
  </toggle:pane>
</toggle:panes>
```

## Bordered

![Example](https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/tabs05.png?fit=max\&auto=format\&n=_JCWsGwGCZxJia7w\&q=85\&s=f2b07ac35a3024d03ac76331ca40e3bf)

```xml wrap  theme={"dark"}
<toggle:panes id="bordered">
<toggle:pane visible="true">
    <h2>Pane 1</h2>
</toggle:pane>
<toggle:pane>
    <h2>Pane 2</h2>
</toggle:pane>
<toggle:pane>
    <h2>Pane 3</h2>
</toggle:pane>
</toggle:panes>
```

## Line Bordered

![Example](https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/tabs06.png?fit=max\&auto=format\&n=_JCWsGwGCZxJia7w\&q=85\&s=a8c15448da912917475db8e9d2f2e018)

```xml wrap  theme={"dark"}
<toggle:controls labels="Pane 1, Pane 2, Pane 3" panes="line-b" styling="line bordered"></toggle:controls>
<toggle:panes id="line-b">
  <toggle:pane visible="true">
    <h2>Pane 1</h2>
  </toggle:pane>
  <toggle:pane>
    <h2>Pane 2</h2>
  </toggle:pane>
  <toggle:pane>
    <h2>Pane 3</h2>
  </toggle:pane>
</toggle:panes>
```

## Pills Bordered

![Example](https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/tabs07.png?fit=max\&auto=format\&n=_JCWsGwGCZxJia7w\&q=85\&s=ebc9ea7d8b4902b9f49ebd63f2b00224)

```xml wrap  theme={"dark"}
<toggle:controls labels="Pane 1, Pane 2, Pane 3" panes="pills-b" styling="pill bordered"></toggle:controls>
<toggle:panes id="pills-b">
  <toggle:pane visible="true">
    <h2>Pane 1</h2>
  </toggle:pane>
  <toggle:pane>
    <h2>Pane 2</h2>
  </toggle:pane>
  <toggle:pane>
    <h2>Pane 3</h2>
  </toggle:pane>
</toggle:panes>
```

## Simple Bordered

![Example](https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/tabs08.png?fit=max\&auto=format\&n=_JCWsGwGCZxJia7w\&q=85\&s=8a834d79a73e701b2cc4672ce1b93653)

```xml wrap  theme={"dark"}
<toggle:controls labels="Pane 1, Pane 2, Pane 3" panes="simple-b" styling="simple bordered"></toggle:controls>
<toggle:panes id="simple-b" visible="true">
  <toggle:pane visible="true">
    <h2>Pane 1</h2>
  </toggle:pane>
  <toggle:pane>
    <h2>Pane 2</h2>
  </toggle:pane>
  <toggle:pane>
    <h2>Pane 3</h2>
  </toggle:pane>
</toggle:panes>
```


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