Command Menu

Searchable command palette (⌘K). Supports grouped sections, keyboard navigation, and custom items.

import{ CommandMenu, DEFAULT_SECTIONS } from "@pepulux/ui"

Default

Props

PropTypeDefaultDescription
open*booleanControls menu visibility
onClose*() => voidCalled when menu closes
sections*CommandSection[]Grouped command items — { title, items: { id, label, href?, onClick?, icon? }[] }
placeholderstring"Search…"Input placeholder text