Quick Start

Register your first commands and open the palette in under a minute.

Register provideCommandPalette() , drop <af-command-palette /> into your root component, then inject CommandPaletteService anywhere to register commands. Commands are automatically removed when the component or service that registered them is destroyed — use DestroyRef for cleanup:

import { provideCommandPalette } from '@angularforge/command-palette';

export const appConfig: ApplicationConfig = {
  providers: [
    provideCommandPalette(),
  ],
};