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

# Tabs

> Switch between related blocks of content

Each `<Tab>` needs a `title`.

## Usage

```mdx theme={null}
<Tabs>
  <Tab title="npm">npm install my-package</Tab>
  <Tab title="pnpm">pnpm add my-package</Tab>
</Tabs>
```

A tab can also have `icon` and `iconType` props.

## Example

<Tabs>
  <Tab title="npm">npm install my-package</Tab>
  <Tab title="pnpm">pnpm add my-package</Tab>
</Tabs>
