Loading...

CSearchButton is a trigger element for search entry points and command-style actions. It behaves like a regular button on click, and it also reacts to a configurable keyboard shortcut such as meta+/ or ctrl+/. It doesn't manage any panel itself — pair its onTrigger callback with a CModal (or offcanvas) you control via state, as shown below.
Configure the shortcut with the shortcut prop, a comma-separated list of key combinations. On macOS the component prefers the meta variant for the visual label; on Windows and Linux it prefers the ctrl variant.
meta+f, ctrl+f, meta+s, or ctrl+s can override native browser or system shortcuts. Prefer safer combinations such as meta+/ and ctrl+/ unless replacing the default behavior is intentional.