# Search form

The search form section provides a dedicated search interface that allows customers to quickly find products, pages, blogs, or other store content. It is typically used on landing pages, headers, or standalone search-focused sections to improve navigation and discoverability.

<figure><img src="/files/YqBGdn8J0rinZRfslmdr" alt=""><figcaption></figcaption></figure>

#### Show header

Controls the visibility of the section header above the search form. When enabled, the heading and subheading are displayed if set.

#### Heading

The main title displayed above the search form. Default is “Search”. Leave blank to omit.

#### Subheading

Optional supporting text shown below the heading to provide context or guidance for using the search feature. Leave blank to omit.

#### Menu

Assigns a menu to the search form to display quick links. Only first-level menu items are supported, helping users navigate directly to key areas of the store.

#### Placeholder text

Defines the placeholder text shown inside the search input field. Leave blank to use the theme default.

#### Vertical spacing

Controls the spacing around the section to adjust its visual separation from surrounding content.

#### Vertical spacing (desktop)

Sets the vertical spacing applied on desktop devices. Default is Large.

#### Vertical spacing (mobile)

Sets the vertical spacing applied on mobile devices to ensure consistent spacing across screen sizes.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gatame.gitbook.io/highstreet/dynamic-sections/forms/search-form.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
