---
title: Tabs
description: A set of layered sections of content—known as tab panels—that are displayed one at a time.
radix:
link: https://www.radix-ui.com/docs/primitives/components/tabs
api: https://www.radix-ui.com/docs/primitives/components/tabs#api-reference
---
## Installation
1. Install the `@radix-ui/react-tabs` component from radix-ui:
```bash
npm install @radix-ui/react-tabs
```
2. Copy and paste the following code into your project.
This is the `` primitive. You can place it in a file at `components/ui/tabs.tsx`.
## Usage
```tsx
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"
```
```tsx
AccountPassword
Make changes to your account here. Click save when you're done.
Change your password here. After saving, you'll be logged out.