Angular Search Button Basic example

Use c-search-button as the entry point for a controlled search dialog. Listen for (trigger) — emitted on click or on the keyboard shortcut — to open a c-modal you own.

Recent searches

Angular Search Button Custom shortcut

Configure shortcut to match your command palette or product conventions, and customize the placeholder text.

Triggered {{ triggerCount() }} {{ triggerCount() === 1 ? 'time' : 'times' }} with click or shortcut.
Angular Search Button Launch an offcanvas

c-search-button is a trigger only — pair it with a c-offcanvas instead of a modal when you want a docked panel for quick navigation or command results.

Search panel

Use this space for filters, recent searches, or command shortcuts.