SearchJetEngine
Universal JavaScript SDK

Instant Search for Any Website

Add powerful search to any website with SearchJet Connect. Framework-agnostic, TypeScript-ready, and optimized for performance.

Less than 10KB
TypeScript Support
Zero Dependencies

Works With Your Favorite Framework

First-class support for all major JavaScript frameworks and vanilla JS

⚛️

React

React hooks and components for seamless integration

💚

Vue.js

Vue 3 composables and components

🅰️

Angular

Angular modules and services

🟨

Vanilla JS

Plain JavaScript with no framework required

Next.js

Optimized for Next.js with SSR support

🔥

Svelte

Svelte stores and components

Simple to Use, Powerful Results

Get started in minutes with any framework

Vanilla JavaScript

vanilla-js
<!-- Via CDN -->
<script src="https://cdn.searchjet.io/connect/v1/searchjet.min.js"></script>

<script>
  const searchjet = new SearchJet({
    apiKey: 'your_api_key',
    indexName: 'your_index'
  });

  const searchBox = document.getElementById('search');
  searchBox.addEventListener('input', async (e) => {
    const results = await searchjet.search(e.target.value);
    displayResults(results);
  });
</script>

React

App.jsx
npm install @searchjet/react

import { SearchProvider, SearchBox, Hits } from '@searchjet/react';

function App() {
  return (
    <SearchProvider
      apiKey="your_api_key"
      indexName="your_index"
    >
      <SearchBox placeholder="Search..." />
      <Hits hitComponent={Hit} />
    </SearchProvider>
  );
}

Everything You Need

Built with modern web development best practices

Framework Agnostic

Works with React, Vue, Angular, Svelte, or plain JavaScript. Use it anywhere.

TypeScript Support

Full TypeScript definitions included for type-safe development and better IDE support.

CDN Ready

Load from CDN or bundle with your app. Tree-shakeable and optimized for performance.

Lightweight

Less than 10KB gzipped. Fast loading times with zero dependencies.

Mobile First

Responsive components and touch-optimized UI for perfect mobile experiences.

Fully Customizable

Headless by default. Use our UI components or build your own with complete control.

Get Started in 4 Steps

From installation to live search in minutes

1

Install or Load

Install via npm or load from CDN

2

Initialize

Configure with your API key and index

3

Add UI

Use pre-built components or build custom

4

Customize

Style and configure to match your brand

Why Developers Love SearchJet Connect

Modern, performant, and developer-friendly. Built for the modern web.

Zero dependencies - pure JavaScript
Tree-shakeable ES modules
Automatic debouncing and caching
Keyboard navigation built-in
Accessibility (a11y) compliant
Dark mode support
Custom styling with CSS variables
Extensive documentation and examples
🔗

Ready to Add Search to Your Site?

Start building with SearchJet Connect today. Works with any JavaScript framework or plain HTML.

Need Help Getting Started?

Check out our examples, documentation, and guides to get up and running.