A command palette with fuzzy search and grouped results. Often opened with Cmd+K.
Copy the command below and run it in your terminal.
bunx @sivir/ui add command
pnpm dlx @sivir/ui add command
npx @sivir/ui add command
yarn dlx @sivir/ui add command
Import and use the Command components:
import * as Command from '$lib/sivir/components/command'; <Command.Root> <Command.Trigger>Open palette</Command.Trigger> <Command.Content> <Command.Search placeholder="Search..." /> <Command.Results> <Command.Item name="search">Item</Command.Item> </Command.Results> </Command.Content> </Command.Root>
bunx @sivir/ui add commandpnpm dlx @sivir/ui add commandnpx @sivir/ui add commandyarn dlx @sivir/ui add command