> For the complete documentation index, see [llms.txt](https://docs.ultramarinastudios.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ultramarinastudios.com/sections/search-modal.md).

# Search modal

The search modal is triggered when the user hits the search button. You can surface recommendations to the user before they make their search by adjusting the settings here.

<figure><img src="https://3146423938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZQuVfmt0J7tzTvfBqG6C%2Fuploads%2Fix0MLKGdsN7skMVZqF7i%2FPrimavera%20Gloss%202025-04-02%20at%205.21.58%20pm.jpg?alt=media&amp;token=185de21b-2a9d-488f-8817-1a3e6e100234" alt=""><figcaption></figcaption></figure>

Predictive search, which displays search results in response to a user’s search query, can be enabled or disabled in the global settings under [Settings > Search Behavior](/theme-settings/search-behavior.md). This feature is enabled by default.

### Settings

* **Popular search terms:** To show a list of popular search terms to the user before they search, use this setting to select a menu. Minimize customer friction by surfacing helpful results for your most popular search queries. Shopify provides the data for your [most popular searches](https://help.shopify.com/en/manual/reports-and-analytics/shopify-reports/report-types/default-reports/behaviour-reports#top-online-store-searches) in your store admin.
* **Collections:** Use this setting to surface a list of your most popular collections in order to guide the customer to key products quicker.
* **Color scheme**: Choose a color scheme for the modal
* **Use alternate logo**: Enable this to display the [alternate logo](/theme-settings/logo.md#alternate-logo) specified in theme settings.


---

# 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.ultramarinastudios.com/sections/search-modal.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.
