a
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
---
|
||||
title: Command
|
||||
description: A command palette component for quick navigation and actions
|
||||
lastUpdated: 21 Aug, 2025
|
||||
links:
|
||||
source: https://github.com/logging-studio/RetroUI/blob/main/components/retroui/Command.tsx
|
||||
---
|
||||
|
||||
<ComponentShowcase name="command-style-default" />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<ComponentInstall>
|
||||
<ComponentInstall.Cli npmCommand="npx shadcn@latest add @retroui/command" />
|
||||
<ComponentInstall.Manual>
|
||||
#### 1. Install dependencies:
|
||||
|
||||
```sh
|
||||
npm install class-variance-authority cmdk
|
||||
```
|
||||
|
||||
<br />
|
||||
|
||||
#### 2. Copy the code 👇 into your project:
|
||||
|
||||
<ComponentSource name="command" />
|
||||
|
||||
</ComponentInstall.Manual>
|
||||
</ComponentInstall>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
|
||||
## Examples
|
||||
|
||||
### Dialog
|
||||
|
||||
<ComponentShowcase name="command-style-dialog" />
|
||||
<br />
|
||||
<br />
|
||||
Reference in New Issue
Block a user