Skip to content
Design System
GitHub

Filter form

v0.10.0

Filters kept in the URL: a GET form that applies itself after typing stops or at once on a pick, resets the page, and works without JavaScript.

API reference

Generated from the types. Every part also takes className.

FilterForm

childrenrequired
ReactNode
action
stringThe path to filter; the current one when left out.
onNavigate
(url: string, mode: NavigateMode) => void = browserNavigate
delay
number = 400Wait after typing stops, in ms.
drop
string[] = ["page"]Fields that reset when a filter changes.
label
string = "Filters"Names the search landmark.