Getting StartedInstallation and setup guides 6
FormInput and selection components 26
LayoutWorkflow and structural layout components 10
NavigationMenu surfaces and hierarchical actions 7
OverlayModal and floating layer surfaces 3
FeedbackStatus, empty, progress, and loading placeholder patterns 6
UtilityGeneral-purpose interface utilities 7

API reference

<tng-command-palette> is a controlled wrapper: bind open, query, and options from the parent, then react to query and selection outputs.

Component inputs

InputTypeDefaultNotes
openbooleanfalseControls whether the dialog-backed popup is visible.
querystring''Displayed in the search input.
optionsreadonly O[][]Rows rendered in the result list.
loadingbooleanfalseShows loading content and takes precedence over the empty state.
placeholderstring'Search...'Placeholder forwarded to the input.
ariaLabelstring'Command search'Labels the dialog and input.
emptyTextstring'No results found'Default empty state text.
loadingTextstring'Loading...'Default loading state text.
footerTextstring'↑ ↓ Navigate · Enter Select · Esc Close'Default footer hint text.
closeOnSelectbooleantrueCloses after pointer or keyboard selection.
showClearButtonbooleantrueShows the default suffix clear button when query is non-empty.

Option mapping

InputTypePurpose
getOptionValue(option: O) => VValue emitted and used for active/selected matching.
getOptionLabel(option: O) => stringDefault row label and selection payload label.
getOptionDescription(option: O) => string | null | undefinedOptional default row description.
isOptionDisabled(option: O) => booleanMarks a row disabled and blocks selection.
trackBy(index: number, option: O) => unknownControls Angular row tracking.

Outputs and templates

NameTypeNotes
openChangebooleanEmitted for Escape, backdrop close, and close-on-select.
queryChangestringEmitted on typing and default clear button click.
optionSelect{ option: O; value: V; label: string }Emitted for pointer click and Enter on the active option.
#tngCommandPaletteInputPrefixTplTemplateRefReplaces the default search prefix.
#tngCommandPaletteInputSuffixTplTemplateRefReplaces the default clear suffix.
#tngCommandPaletteOptionTplTemplateRefReceives option, value, label, description, active, selected, and disabled context.
#tngCommandPaletteEmptyTplTemplateRefReplaces the empty state.
#tngCommandPaletteLoadingTplTemplateRefReplaces the loading state.
#tngCommandPaletteFooterTplTemplateRefReplaces the keyboard-help footer.