This guide will step you through how to use the searchkit client API to build your own UI components, for those who want to integrate searchkit into their own UI.
Also see Create React App if you're not using NextJS.
Below example of how a simple search query component can be built using the searchkit client API. When search is invoked, the API will perform a new query.
Facets are configured on the server API. The configuration controls their order, their size and label. This makes the client side extremely simple.
First we implement code to render each facet and their facet options and then we implement toggling facets which call the searchkit client API