Dev Design Library

Slash Command Palette

A '/'-triggered command palette over a local tool/command list — name, category, description, and icon — to layer onto a PromptInput Tools slot. Purely presentational; the consumer opens it (e.g. when the composer starts with '/') and suppl.

Slash Command Palette preview
Library
LocalMode
Framework
React
Type
component
License
MIT
Dependencies
cmdk, lucide-react
Install
npx shadcn add @localmode/ui/ui/input-controls/slash-command-palette
Files
  • apps/ui/registry/localmode/input-controls/slash-command-palette/slash-command-palette.tsx
  • apps/ui/src/lib/utils.ts
  • apps/ui/registry/localmode/ui/command.tsx
  • apps/ui/registry/localmode/lib/utils.ts
  • apps/ui/registry/localmode/ui/dialog.tsx
  • apps/ui/registry/localmode/ui/button.tsx
Source
https://github.com/LocalMode-AI/LocalMode

Categories

More from LocalMode