> For the complete documentation index, see [llms.txt](https://docs-en.shoppy.is/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-en.shoppy.is/shoppy-dashboard/app-builder/homepage/search-bar.md).

# Search Bar

This widget depicts a search bar. Users can search for products and you can help them find the right products for them by setting up keywords on your Shopify store. On your mobile app, users can use the search bar for simpler shopping. When a user searches for a product, a maximum of 80 search results will be shown in order to offer an optimal mobile experience.

### Customizations

Customize your search bar by going to your Shoppy Dashboard > Homepage. Click on "Add Widget" and select "Search Bar".

You can choose between a rounded, squared, or bottom search bar style. You can also set the lateral margins for your search bar, choosing between the small, medium, or large preset, or use a custom one.

<figure><img src="https://2580671618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJPDzUzynACRbcxkhAEeE%2Fuploads%2FaIvWO0CNAdajoISmcFAn%2FSearchBar_Dashboard.png?alt=media&amp;token=d532c4a6-7479-4990-a196-27c7133a7477" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="https://2580671618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJPDzUzynACRbcxkhAEeE%2Fuploads%2Fv6ggVvQJLCm0dbyZTjGI%2Fsearch.png?alt=media&amp;token=7c8909bf-bf9f-4ba0-bc05-66d5118e9893" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs-en.shoppy.is/shoppy-dashboard/app-builder/homepage/search-bar.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
