Add powerful search to any website with SearchJet Connect. Framework-agnostic, TypeScript-ready, and optimized for performance.
First-class support for all major JavaScript frameworks and vanilla JS
React hooks and components for seamless integration
Vue 3 composables and components
Angular modules and services
Plain JavaScript with no framework required
Optimized for Next.js with SSR support
Svelte stores and components
Get started in minutes with any framework
<!-- 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>
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>
);
}
Built with modern web development best practices
Works with React, Vue, Angular, Svelte, or plain JavaScript. Use it anywhere.
Full TypeScript definitions included for type-safe development and better IDE support.
Load from CDN or bundle with your app. Tree-shakeable and optimized for performance.
Less than 10KB gzipped. Fast loading times with zero dependencies.
Responsive components and touch-optimized UI for perfect mobile experiences.
Headless by default. Use our UI components or build your own with complete control.
From installation to live search in minutes
Install via npm or load from CDN
Configure with your API key and index
Use pre-built components or build custom
Style and configure to match your brand
Modern, performant, and developer-friendly. Built for the modern web.
Start building with SearchJet Connect today. Works with any JavaScript framework or plain HTML.
Check out our examples, documentation, and guides to get up and running.