API Reference / React InstantSearch Hooks / <MenuSelect>

About this widget

The <MenuSelect> widget isn’t currently available in React InstantSearch Hooks, but you can make it yourself using useMenu().

Refer to the useMenu() documentation for a full API reference.

Examples

1
2
3
4
5
6
7
import { useMenu } from 'react-instantsearch-hooks-web';

export function MenuSelect(props) {
  const { items, refine } = useMenu(props);

  return <>{/* Your JSX */}</>;
}
Did you find this page helpful?