a
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
---
|
||||
title: Select
|
||||
description: Let your users pick what they want.
|
||||
lastUpdated: 09 Sep, 2025
|
||||
links:
|
||||
api_reference: https://www.radix-ui.com/primitives/docs/components/select#api-reference
|
||||
source: https://github.com/logging-studio/RetroUI/blob/main/components/retroui/Select.tsx
|
||||
---
|
||||
|
||||
<ComponentShowcase name="select-style-default" />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
## Installation
|
||||
|
||||
<ComponentInstall>
|
||||
<ComponentInstall.Cli npmCommand="npx shadcn@latest add @retroui/select" />
|
||||
<ComponentInstall.Manual>
|
||||
|
||||
#### 1. Install dependencies:
|
||||
|
||||
```sh
|
||||
npm install @radix-ui/react-select class-variance-authority
|
||||
```
|
||||
|
||||
<br />
|
||||
|
||||
#### 2. Copy the code 👇 into your project:
|
||||
|
||||
<ComponentSource name="select" />
|
||||
|
||||
</ComponentInstall.Manual>
|
||||
</ComponentInstall>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
|
||||
## Examples
|
||||
|
||||
### Default
|
||||
|
||||
<ComponentShowcase name="select-style-default" />
|
||||
Reference in New Issue
Block a user