Search
What is this?
Search enables users to specify a word, phrase, or term to find relevant pieces of content.
Loading
ReferenceError: Box is not defined
Disabled
ReferenceError: Box is not defined
Internationalized Placeholder
ReferenceError: Box is not defined
Debounce
A common UX pattern is to filter the collections (or make a query) while the user types the input. To do that performatively, we often use debounced values. You can use the useSearchState hook which stores a debounced value for you!
ReferenceError: Box is not defined
Persisted state in query params
You can persist the search value within the browser's query params using the `useQuerySearchState` hook, instead of `useSearchState`. The application should be wrapped by `QueryStateProvider`. Watch how your url changes (note that the persisted value is the debounced value).
ReferenceError: Box is not defined