Provide view options for the search results page
Regardless of the type of search you implement, users usually expect the search results page to be displayed after clicking or tapping the Search button. Because search results pages can return massive amounts of information, choose a proper layout to present content in the most scannable manner.
The selection between a list view and a grid view depends on how much information users need for comparing products and choosing between them. A list view makes more sense for items where details like model numbers, ratings, and dimensions matter. This layout is also a good fit for text-only results.
A grid view layout is usually used when the product's appearance is more vital for making a final decision to purchase the item than its text description.[1]
Pro Tip: Offer users the freedom to choose between layouts and view results the way they want.