Skip to content
Spiral
/
/
Give feedback
Command Menu
Cmd+K style palette — search, tabbed sections, recent tags, and result rows in five content types.
Open Command Menu
Show code
API References
CommandMenu
Prop
Type
Default
searchValue
string
—
onSearchChange
(value: string) => void
—
children
ReactNode
—
footer
ReactNode
—
className
string
" "
CommandMenuItem
Prop
Type
Default
type
"basic"
"icon"
"avatar"
"flag"
"logo"
"basic"
size
"sm"
"md"
"sm"
label
ReactNode
—
sublabel / description
ReactNode
—
badge
ReactNode
—
shortcutKeys
("command" | string)[]
—
showRightIcon
boolean
true
active
boolean
false
CommandMenuSection / CommandMenuFooter
Prop
Type
Default
title
ReactNode
—
action / onAction
ReactNode / () => void
—
helpText / linkLabel
ReactNode
—