Skip to main content

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 children
children
React.ReactNode
required
Anchor to initialQuery
initialQuery
string

Was this page helpful?