Command 命令面板
可搜索的命令列表,基于 cmdk。
没有匹配的结果
用户管理
操作日志
系统设置
后台的全局搜索(⌘K)见 CommandMenu。
安装
pnpm dlx shadcn@latest add https://docs.linasan.cn/r/command.json第一次装本站的组件前先在项目里执行一次 shadcn init,详见 安装。
用法
import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from '@/components/ui/command';