XDSCommandPaletteList@xds/core · CommandPalette

Usage

CommandPalette is a searchable dialog for quick access to commands, navigation, and actions. Use it as a keyboard-driven launcher powered by XDSSearchSource for filtering and selection.

Best practices

GuidancePractices
DoProvide a searchSource with bootstrap results so users see useful options before typing.
DoUse auxiliaryData.group on items to automatically organize results into labeled sections.
Don'tUse CommandPalette for simple dropdowns or menus — use XDSMenu or XDSSelector for inline selections.
Don'tAdd too many groups or items — curate results to keep the palette fast and scannable.

Import

ts
import {XDSCommandPaletteList} from '@xds/core/CommandPalette'

Props

PropTypeDescription
childrenrequired
ReactNodeItems, groups, and empty states.
label
string (default: 'Commands')Accessible label for the listbox.
xstyle
StyleXStylesStyleX styles for layout customization. Must be a stylex.create() value.