Search Bar

Filter products by

  • Component: <Search/>

  • Path: /components/home/search.tsx

  • Import:

import { Search } from "@/components/home/search";

A basic search input controlled by a useState (searchTerm and setSearchTerm) so you can re-use it wherever you need it.

By default, this search bar is only used on components/main-layout.tsx, check this file if you want to see an example.

Last updated