Search
Product search with automatic debouncing via useProductSearch hook. Two usage patterns: all-in-one Search component (fastest setup, fixed layout) or composable SearchProvider + SearchInput + SearchResultsList (custom layouts, shared search state). The all-in-one component handles input, loading skeletons, empty states, and infinite scroll. Use composable approach when you need custom result rendering or multiple search-dependent sections.
Anchor to propsProps
- Anchor to childrenchildrenchildrenReact.ReactNodeReact.ReactNoderequiredrequired
- Anchor to initialQueryinitialQueryinitialQuerystringstring
Was this page helpful?