lumesec

Command Palette

Navigation 12

About

A ⌘K / Ctrl+K command palette that opens from a trigger button, with grouped commands, fuzzy search, keyboard navigation and an animated pixel highlight that follows the selected row.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Command Palette to your project and fits it to your theme.

Code

How Command Palette is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { PxCommand } from "@/components/ui/px-command";

export default function PxCommandDemo() {
  return (
    <div className="flex w-full items-center justify-center p-10">
      <PxCommand
        hotkey
        className="w-full max-w-sm"
        items={[
          { group: "Actions", label: "New chat", shortcut: "N" },
          { group: "Actions", label: "New project", shortcut: "P" },
          { group: "Go to", label: "Settings", shortcut: "G S" },
        ]}
        onCommand={(item) => console.log(item.label)}
      />
    </div>
  );
}

More by lumesec

View all
  • Geo Traceroute

    Geo Traceroute

    94
  • Effort Slider

    Effort Slider

    67
  • Connection Globe

    Connection Globe

    37
  • Date Picker

    Date Picker

    29
  • Rotary Dial

    Rotary Dial

    27
  • Region Picker

    Region Picker

    26
  • Live Visitors Map

    Live Visitors Map

    19
  • Pixel Toaster

    Pixel Toaster

    17

More in Navigation

View all
  • Footer with Big Wordmark

    Footer with Big Wordmark

    165
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    439
  • Meniscus — Liquid Bottom Navigation Bar

    Meniscus — Liquid Bottom Navigation Bar

    33
  • Sidebar

    Sidebar

    444
  • Tabs

    Tabs

    38
  • Pagination

    Pagination

    121
  • Sidebar

    Sidebar

    367
  • Stacked Circular Footer

    Stacked Circular Footer

    469