Blog Detail


InnerSearch-  A Suit of Vue.js Components for ElasticSearch cover image

arrow_back InnerSearch- A Suit of Vue.js Components for ElasticSearch

InnerSearch is an Open Source project created to help developers working with vue.js and Elastic, giving them the possibility to create search UIs within the hour. InnerSearch is a suite of UI components like SearchBox, RefinementListFilter, Paginator, and many others to come built with Vue.js.

The aim is to rapidly create beautiful specified search interfaces using declarative components without being an ElasticSearch and Vue.js expert.


Via Npm
You can install this via npm by running this command.

$ npm install --save vue-innersearch

Using as script tag

vue-innersearch needs Vue and Vuex to work

  <script src=""></script>
  <script src=""></script>

Getting Started

Use the vue-innersearch plugin

You need to tell Vue to use the Vue InnerSearch plugin so that all components are available

import InnerSearch from 'vue-innersearch';


If you only want specific components like SearchBox and Hits components, you can do the following.

Note: Don’t forget to import the Generics mixin component.

import {Searchbox, Hits, Generics} from 'vue-innersearch';

Vue.component('searchbox', Searchbox);
Vue.component('hits', Hits);

Usage Example

<div class="columns">
    <div class="column is-one-fifth">
            <refinement-list-filter :field="'state'"></refinement-list-filter>
            <refinement-list-filter :field="'gender'"></refinement-list-filter>
    <div class="column">
            <searchbox :field="'firstname'"></searchbox>
            <div style="margin: 20px auto;width: 90%">

            <paginate :previousText="'Previous page'" :nextText="'Next page'" :size="10"></paginate>

Components list

You can visit the details & source code of this package on its Github.

Published at : 30-12-2021

Author : Rizwan Aslam
Rizwan Aslam

I am a highly results-driven professional with 12+ years of collective experience in the grounds of web application development especially in laravel, native android application development in java, and desktop application development in the dot net framework. Now managing a team of expert developers at Codebrisk.

Launch your project

Launch project