---
title: Tabs
description: A set of layered sections of content—known as tab panels—that are displayed one at a time.
component: true
links:
doc: https://www.radix-ui.com/docs/primitives/components/tabs
api: https://www.radix-ui.com/docs/primitives/components/tabs#api-reference
---
## Installation
CLI
Manual
```bash
npx shadcn@latest add tabs
```
Install the following dependencies:
```bash
npm install @radix-ui/react-tabs
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage
```tsx showLineNumbers
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"
```
```tsx showLineNumbers
Account
Password
Make changes to your account here.
Change your password here.
```