useSearch

Overview

The useSearch hook allows you to set up search on your Shogun Frontend store.

Import

The useSearch hook can be imported directly from the frontend-ui package, which is pre-installed in your Shogun Frontend store.

import { useSearch } from 'frontend-ui'

Usage

For an in depth guide on how to use the useSearch hook, check the search guide.


Did this page help you?