--- title: Tabs description: A set of layered sections of content—known as tab panels—that are displayed one at a time. component: true radix: link: https://www.radix-ui.com/docs/primitives/components/tabs api: https://www.radix-ui.com/docs/primitives/components/tabs#api-reference --- ## Installation ```bash npx shadcn-ui add tabs ``` Manual 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 Account Password Make changes to your account here. Change your password here. ```