# Header

The header section provides a flexible content block used to introduce sections with a heading, optional supporting text, and an optional call-to-action button. It is commonly used to add structure and context to different areas of a page.

#### Direction

Defines the layout direction on desktop. Set to “Row” to display content horizontally; mobile always uses a column layout for usability.

#### Heading

The main heading displayed in the section. Default is “Add a heading”. Leave blank to omit.

#### Subheading

Optional supporting text shown below the heading to provide additional context or description. Leave blank to omit.

#### Button label

Defines the text for an optional call-to-action button. Leave blank to hide the button.

#### Button link

Specifies the URL destination for the button. Can link to a page, collection, product, or external URL. Leave blank to omit.

#### Button style

Defines the visual style of the button. Default is “Secondary”.

#### 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/layout/header.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.
