Search Components
searchBox
The main search input for entering queries
hits
Display search results as a list of hits
infiniteHits
Display search results with infinite scrolling
Filtering Widgets
refinementList
Filter results by facet values with checkboxes
hierarchicalMenu
Filter results with hierarchical categories
menu
Filter results with a single-select menu
rangeInput
Filter results by numeric range with inputs
rangeSlider
Filter results by numeric range with a slider
ratingMenu
Filter results by rating values
numericMenu
Filter results by predefined numeric ranges
toggleRefinement
Toggle a boolean filter on or off
Refinement Display
currentRefinements
Display and remove active refinements
clearRefinements
Clear all active refinements at once
Navigation & Display
pagination
Navigate through search result pages
hitsPerPage
Control the number of results per page
sortBy
Switch between different sorting strategies
Widget Categories
Search & Results
Widgets that handle the search input and display of results.Filters & Facets
Widgets that allow users to refine search results based on attributes.UI Controls
Widgets that control how results are displayed and navigated.Using Widgets
All widgets follow a similar instantiation pattern:Common Options
Most widgets support these common options:container- CSS selector or HTMLElement where the widget will be renderedcssClasses- Object to customize CSS classestemplates- Object to customize rendering templatestransformItems- Function to transform items before rendering