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

> [tab] npm
>
> npm install my-package

> [tab] pnpm
>
> pnpm add my-package


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