lumesec

Command Palette

Navigation 11

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

    80
  • Date Picker

    Date Picker

    25
  • Region Picker

    Region Picker

    20
  • Rotary Dial

    Rotary Dial

    19
  • Pixel Toaster

    Pixel Toaster

    14
  • Effort Slider

    Effort Slider

    9
  • Pixel Select

    Pixel Select

    7
  • Pixel Bar Chart

    Pixel Bar Chart

    6

More in Navigation

View all
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    76
  • Footer with Big Wordmark

    Footer with Big Wordmark

    40
  • Sidebar

    Sidebar

    392
  • Oversized 404 Numeral

    Oversized 404 Numeral

    78
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    67
  • NavBar

    NavBar

    2
  • Pagination

    Pagination

    109
  • Tabs like bookmark

    Tabs like bookmark

    82