UI components library for Elasticsearch, OpenSearch, Solr, MongoDB: Available for React and Vue
Read how to build an e-commerce search UI
a.) with React, or b.) with Vue
Check out Searchbox if you're building search UIs for other JS frameworks, React Native or Flutter.
Check out the ReactiveSearch marketplace at reactiveapps.io.
Web designer templates for sketch.
iOS and Android designer templates for sketch.
ReactiveSearch is a UI components library for React and Vue, designed to work with ReactiveSearch cloud. It has over 20 UI components consisting of Lists, Ranges, Search UIs, Result displays, AI Answer, Charts, and a way to bring an existing UI component into the library.
A UI component can be used for filtering or searching on the index. For example:
SingleList
sensor component applies an exact match filter based on the selected item.RangeSlider
component applies a numeric range query based on the values selected from the UI.SearchBox
component applies a suggestions and search query based on the search term typed by the user.UI components can be used together (react
prop allows configuring this on a per-component level) and render the matching results via a result display UI component.
ReactiveSearch supports the following built-in display components for displaying results (aka hits):
react
allows for creating complex UIs where a number of UI components can reactively update based on user interaction.className`` and
innerClass` prop support.ThemeProvider
.Starting ReactiveSearch v4 (current major release), the library only sends the search intent, specification for this is here - ReactiveSearch API ref. Based on the choice of search engine you configure in ReactiveSearch cloud, the search query DSL is then generated by ReactiveSearch cloud. This approach is both more secure as well as allows transfering the search business logic on the server-side.
If you're using ReactiveSearch v3 (last major release), use of ReactiveSearch API over ElasticSearch's query DSL is an opt-in feature. You need to set the enableAppbase
prop as true
in your ReactiveBase
component. This assumes that you are using appbase.io for your backend.
We recommend checking out this KitchenSink App that demonstrates the use of the ReactiveSearch API
for all the ReactiveSearch components.
⬆ Back to Top
Try the live component playground stories at playground. Look out for the knobs section in the playground part of the stories to tweak each prop and see the effects.
A set of live demos inspired by real world apps, built with ReactiveSearch.
You can check all of them on the examples section of website.
⬆ Back to Top
Here, we share how ReactiveSearch
compares with other projects that have similar aims.
# | ReactiveSearch | SearchKit | InstantSearch |
---|---|---|---|
Backend | Elasticsearch, OpenSearch, Solr, MongoDB, OpenAI | Any Elasticsearch index hosted on any Elasticsearch cluster. | Custom-built for Algolia, a proprietary search engine. |
Development | Actively developed and maintained. | Active issue responses, some development and maintenance. | Actively developed and maintained. |
Onboarding Experience | Starter apps, Live interactive tutorial, getting started guide, component playground, every component has a live working demo with codesandbox. | Getting started tutorial, no live component demos, sparse reference spec for many components. | Starter apps, getting started guide, component playground. |
Styling Support | Styled and scoped components. No external CSS import required. Rich theming supported as React props. | CSS based styles with BEM, not scoped to components. Theming supported with SCSS. | CSS based styles, requires external style import. Theming supported by manipulating CSS. |
Types of Components | Lists, Ranges, Search, Dates, Maps, Result Displays. Can use your own UI components. | Lists, Ranges, Search*, Result*. Can't use your own UI components. (Only one component for Search and Result, resulting in more code to be written for customizability) | Lists, Range, Search, Result. Can use your own UI components. |
Supported Distribution Platforms | React, Vue for Web, React Native for mobile. | React for Web. | React, Vue, Angular, vanilla JS for Web, React Native for mobile but latter has no UI components. |
We welcome contributions to this section. If you are building a project or you know of another project that is in the similar space, let us know and we will update the comparisons.
⬆ Back to Top
Installing ReactiveSearch is just one command.
npm install @appbaseio/reactivesearch
You can check out the quickstart guide with React here.
npm install @appbaseio/reactivesearch-vue
You can check out the quickstart guide with Vue here.
The official docs for the React library are at docs.reactivesearch.io/docs/reactivesearch/react.
The components are divided into four sections:
Docs for Vue version of the library are available at docs.reactivesearch.io/docs/reactivesearch/vue.
⬆ Back to Top
Please check the contribution guide.
ReactiveSearch API API Gateway for ElasticSearch, OpenSearch, Solr, MongoDB, OpenAI (Out of the box Security, Rate Limit Features, Record Analytics and Request Logs).
searchbox A lightweight and performance focused searchbox UI libraries to query and display results with ReactiveSearch Cloud.
dejavu Elasticsearch / OpenSearch data viewer and editor
appbase-js For when you need to index data in addition to UI components
⬆ Back to Top