Stylish Command Palette
A searchable command palette — the web "Command/⌘K" pattern from shadcn/ui (cmdk) and Radix UI.
Shows a centered modal with a query input and the filtered command list. Items are filtered against StylishCommandItem.label and StylishCommandItem.keywords. The list supports keyboard navigation: Arrow Up/Down moves the selection, Enter selects, Escape dismisses.
Parameters
Whether the palette is visible.
Called when the palette should close (Escape, click outside, or item selection).
The current query text.
Called as the user types.
Modifier applied to the palette surface.
The commands to search.
Placeholder text of the query input. Defaults to "コマンドを入力…".
Maximum number of filtered results shown. Defaults to 8.
Corner shape of the palette. Defaults to RoundedCornerShape with DefaultStylishDimensions.connectedCornerRadius.
Background of the palette. Defaults to MaterialTheme.colorScheme.surfaceContainerHigh.
Foreground color of the palette.
Width of the palette. Defaults to 480 dp.