Reechdesk

KBSearch

Fuzzy search input for knowledge base articles with dropdown results.

Demo — KB Search
How to reset your password
Account Settings
Password requirements and security
Security

Usage

app/page.tsxtsx
import { KBSearch } from '@reechdesk/sdk';

<KBSearch
  placeholder="Search help articles..."
  maxResults={5}
/>

Props

PropTypeDescription
placeholderstringPlaceholder text for the search input.
maxResultsnumberMaximum number of results to show in the dropdown.

How It Works

1. User types at least 2 characters in the search input.

2. The component sends a GET request to /api/kb/search?q={query}&entityId={entityId}.

3. Results appear in a dropdown below the input.

4. Clicking a result can link to a full article page.

Embed in your help center

Use KBSearch as a standalone search bar on your help center page, or combine it with the ChatWidget for a unified support experience.