create-instantsearch-app CLI supports multiple templates across web and mobile platforms.
Web Templates
InstantSearch.js
Vanilla JavaScript template using InstantSearch.js.InstantSearch.jsinstantsearch.js
= 3.0.0 < 5.0.0
- Pure JavaScript, no framework required
- Parcel bundler for development
- TypeScript support
- ESLint and Prettier configured
- Dynamic Widgets (>= 4.30)
- Insights support (>= 4.55)
- Autocomplete integration (>= 4.52)
React InstantSearch
React template using React InstantSearch.React InstantSearchreact-instantsearch
= 7.0.0 < 8.0.0
- React 18+ support
- Parcel bundler for development
- ESLint and Prettier configured
- Dynamic Widgets (>= 7.0)
- Insights support (>= 7.0)
Vue InstantSearch
Vue 2 template using Vue InstantSearch.Vue InstantSearchvue-instantsearch
= 3.0.0 < 5.0.0
- Vue 2 framework
- Parcel bundler for development
- ESLint and Prettier configured
- Dynamic Widgets (>= 4.2.0)
- Insights support (>= 4.9.0)
Vue InstantSearch with Vue 3
Vue 3 template using Vue InstantSearch.Vue InstantSearch with Vue 3vue-instantsearch
= 4.0.0 < 5.0.0
- Vue 3 framework with Composition API
- Parcel bundler for development
- ESLint and Prettier configured
- Dynamic Widgets support
- Insights support
Autocomplete
Standalone Autocomplete template using Autocomplete.js.Autocomplete- Autocomplete.js library
- Query Suggestions plugin
- Recent Searches plugin
- Parcel bundler
Mobile Templates
React InstantSearch Native
React Native template for mobile apps.React InstantSearch Native- React Native framework
- Expo for development
- iOS and Android support
- TypeScript support
InstantSearch iOS
Native iOS template using InstantSearch iOS.InstantSearch iOS- Swift-based
- Xcode project structure
- CocoaPods for dependencies
- Native iOS widgets
InstantSearch Android
Native Android template using InstantSearch Android.InstantSearch Android- Kotlin-based
- Gradle build system
- Android Studio compatible
- Native Android widgets
Advanced Templates
JavaScript Client
Low-level template using only the Algolia JavaScript client.JavaScript ClientJavaScript Helper
Template using the Algolia Search Helper.JavaScript HelperInstantSearch.js widget
Template for creating custom InstantSearch.js widgets.InstantSearch.js widgetTemplate Features Comparison
| Template | Dynamic Widgets | Insights | Autocomplete |
|---|---|---|---|
| InstantSearch.js | >= 4.30 | >= 4.55 | >= 4.52 |
| React InstantSearch | >= 7.0 | >= 7.0 | - |
| Vue InstantSearch | >= 4.2.0 | >= 4.9.0 | - |
| Vue InstantSearch (Vue 3) | >= 4.2.0 | >= 4.9.0 | - |
| Autocomplete | N/A | N/A | Built-in |
| React InstantSearch Native | - | - | - |
Dynamic Widgets automatically renders filters based on your index configuration.Insights enables event tracking for analytics and personalization.Autocomplete provides enhanced search input with suggestions.
Choosing a Template
For simple projects
Use InstantSearch.js for lightweight, framework-free search
For React apps
Use React InstantSearch for seamless React integration
For Vue 2 apps
Use Vue InstantSearch for Vue 2 projects
For Vue 3 apps
Use Vue InstantSearch with Vue 3 for modern Vue
For mobile apps
Use React InstantSearch Native, iOS, or Android templates
For custom widgets
Use InstantSearch.js widget template