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*boolean—Controls menu visibility
onClose*() => void—Called when menu closes
sections*CommandSection[]—Grouped command items — { title, items: { id, label, href?, onClick?, icon? }[] }
placeholderstring"Search…"Input placeholder text
Application component → Command menuswww.pepulux.com

Notes and documentation

Space for notes, documentation, and best practices for using these components.

Keyboard-first navigation

A command menu lets power users jump anywhere or run an action by typing. Open it with a global shortcut, group results into sections and show the shortcut hints in the footer.