Skip to main content

Search API

The <Search> component renders a menu that provides a way for users to enter searches that use Finsemble's Search Client API. Users can launch, favorite, or unfavorite search results. By default, Finsemble is configured to return search results for installed Components (Apps) and Workspaces. Search will automatically return results for any "providers" that are registered with Finsemble via the Search API.

Here's how the search menu looks:

Search component on the toolbar

Props

PropTypeRequiredDefault valueDescription
closeHotkeystring[]No["escape"]A key combination to close the menu. Defaults to the escape key. Set to null to override that default.
openHotkeynumberNoundefinedA key combination to open the menu

Usage

import { ToolbarShell, ToolbarSection, Search } from "@finsemble/finsemble-core";

<ToolbarShell>
<ToolbarSection>
<Search />
</ToolbarSection>
</ToolbarShell>;