Skip to main content
Signature

Explore example code

Browse the FilterList (numeric) example code on GitHub.

About this widget

FilterList.Numeric is a filtering view that displays any kind of numeric filters and lets users refine the search results by selecting them. Compared to the RefinementList, which takes its values from the search response facets, this widget displays numeric filters that you add yourself.

Examples

Kotlin

Low-level API

If you want to fully control the FilterList.Numeric components and connect them manually, use the following components:
  • Searcher. The Searcher that handles your searches.
  • FilterState. The current state of the filters.
  • FilterListViewModel.Numeric. The logic applied to the numeric filters.
  • FilterListView.Numeric. The view that renders the numeric filters.
  • FilterPresenter. Optional. The presenter to customize the display of the filters.
Kotlin

Compose UI

InstantSearch provides the FilterListState as a state model, which is an implementation of the FilterListView interface. You need to connect FilterListState to the FilterListConnector or FilterListViewModel like any other FilterListView implementation.
Kotlin

Parameters

List<Filter.Numeric>
required
The numeric filters to display.
FilterState
required
The FilterState that will hold your filters.
SelectionMode
default: Single
Whether the list can have Single or Multiple selections.
FilterGroupID
default: FilterGroupID(FilterOperator.And)
The identifier for the group of filters.

View

FilterListView.Numeric
The view that renders the filters.
Kotlin
Last modified on July 22, 2026