KodeKarsa UI

Overlays

Command Palette

Search for commands and pages in a dialog, also opened with ⌘K / Ctrl+K.

src/components/ui/command-palette.tsxBehavior from @ui-sdk/react/command

Actions and pages

Import

tsx
import { CommandPalette } from "@/components/ui/command-palette";

Guidelines

  • Group the commands, and give every command a unique value for onRun.