SearchStax Site Search UI Kits for JavaScript provide prebuilt widgets and supporting utilities for custom search pages.
Use these components to build a search experience that fits your application without a framework dependency.
Prerequisites
- Access to a SearchStax Site Search account with an app and indexed content.
- A JavaScript project with Node.js and npm.
- Familiarity with JavaScript modules and build tooling.
Installation
Install the JavaScript UI Kit package and follow the Getting Started guide to connect your Site Search app.
Available Widgets
To learn more about the SearchStax Site Search solution's SearchStudio-UX-JS Widgets, follow the links to each page to see the templates and examples:
- Answer Widget: provides an AI answer widget for your searches
- Location Widget: provides search features based on geographic location
- Input Widget: provides the search input field with autosuggest/autocomplete capabilities
- Results Widget: displays the search results
- Facets Widget: displays faceted filters for search
- Pagination Widget: displays a pagination control
- Feedback Widget: displays search feedback and stats
- Related Searches Widget: displays related searches
- External Promotions Widget: displays external promotions
- Sorting Widget: allows sorting of search results
- Using Hooks: to customize data flowing back and forth from the UI to Solr.
- Interface Reference: interfaces used by the various JS widgets.