--- title: Select description: Displays a list of options for the user to pick from—triggered by a button. component: true featured: true links: doc: https://www.radix-ui.com/docs/primitives/components/select api: https://www.radix-ui.com/docs/primitives/components/select#api-reference --- ## Installation CLI Manual ```bash npx shadcn@latest add select ``` Install the following dependencies: ```bash npm install @radix-ui/react-select ``` Copy and paste the following code into your project. Update the import paths to match your project setup. ## Usage ```tsx showLineNumbers import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/components/ui/select" ``` ```tsx showLineNumbers ``` ## Examples ### Scrollable