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

export const LwTemplate = ({title = "Key questions to get you started", icon = "sparkles", cta = "Powered by Agent Studio", linkHref = "https://lucidworks.com/demo/?utm_source=docs&utm_medium=referral&utm_campaign=docs_cta_ai"}) => {
  const [isLoaded, setIsLoaded] = useState(false);
  useEffect(() => {
    const timer = setTimeout(() => {
      setIsLoaded(true);
    }, 500);
    return () => clearTimeout(timer);
  }, []);
  return <div className="lw-template-container">
      <Card title={title} icon={icon}>
        {isLoaded && <span dangerouslySetInnerHTML={{
    __html: `<lw-template id="a029c1a9-28be-427e-b0e1-5d918920246a"></lw-template
            >`
  }} />}
        <Link href={linkHref} className="agent-studio-link text-left text-gray-600 gap-2 dark:text-gray-400 text-sm font-medium flex flex-row items-center hover:text-primary dark:hover:text-primary-light group-hover:text-primary group-hover:dark:text-primary-light">Powered by Lucidworks Agent Studio</Link>
      </Card>
    </div>;
};

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

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

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

<LwTemplate />

## Default

The standard toggle pane tabs

<img src="https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/tabs01.png?fit=max&auto=format&n=_JCWsGwGCZxJia7w&q=85&s=76906db6a1c170b4e9466e4af133e430" alt="Example" width="1271" height="247" data-path="assets/images/app-studio/as-examples/gallery/tabs01.png" />

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

<img src="https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/tabs02.png?fit=max&auto=format&n=_JCWsGwGCZxJia7w&q=85&s=d5f93daac812c4ea0b002271dd9dc0e8" alt="Example" width="1271" height="246" data-path="assets/images/app-studio/as-examples/gallery/tabs02.png" />

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

<img src="https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/tabs03.png?fit=max&auto=format&n=_JCWsGwGCZxJia7w&q=85&s=d7403837f9ec6cf9407f18b6b2d9afed" alt="Example" width="1271" height="246" data-path="assets/images/app-studio/as-examples/gallery/tabs03.png" />

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

<img src="https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/tabs04.png?fit=max&auto=format&n=_JCWsGwGCZxJia7w&q=85&s=6b7cebf84479251a59a1971aca427911" alt="Example" width="1271" height="244" data-path="assets/images/app-studio/as-examples/gallery/tabs04.png" />

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

<img src="https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/tabs05.png?fit=max&auto=format&n=_JCWsGwGCZxJia7w&q=85&s=f2b07ac35a3024d03ac76331ca40e3bf" alt="Example" width="1271" height="293" data-path="assets/images/app-studio/as-examples/gallery/tabs05.png" />

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

<img src="https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/tabs06.png?fit=max&auto=format&n=_JCWsGwGCZxJia7w&q=85&s=a8c15448da912917475db8e9d2f2e018" alt="Example" width="1271" height="292" data-path="assets/images/app-studio/as-examples/gallery/tabs06.png" />

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

<img src="https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/tabs07.png?fit=max&auto=format&n=_JCWsGwGCZxJia7w&q=85&s=ebc9ea7d8b4902b9f49ebd63f2b00224" alt="Example" width="1271" height="362" data-path="assets/images/app-studio/as-examples/gallery/tabs07.png" />

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

<img src="https://mintcdn.com/lucidworks/_JCWsGwGCZxJia7w/assets/images/app-studio/as-examples/gallery/tabs08.png?fit=max&auto=format&n=_JCWsGwGCZxJia7w&q=85&s=8a834d79a73e701b2cc4672ce1b93653" alt="Example" width="1271" height="291" data-path="assets/images/app-studio/as-examples/gallery/tabs08.png" />

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