> For the complete documentation index, see [llms.txt](https://broadcast.presidiocreative.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://broadcast.presidiocreative.com/header/mobile-menu/blocks/button.md).

# Button

The button block lets you add a call-to-action button within the mobile menu:&#x20;

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

Configure the block settings to customize the target link and text. Change the color, style, layout and spacing:

<figure><img src="/files/CX2ZnrgL2XVtT60x5I1m" alt=""><figcaption><p>Button block settings</p></figcaption></figure>

### What is Pin to bottom?&#x20;

When you activate "Pin to bottom" in the block settings, the block will remain sticky at the bottom of the mobile menu, allowing customers to have quick access during scrolling:&#x20;

<figure><img src="/files/DHzAYAFIbOsmaRAq164Q" alt=""><figcaption><p><strong>The Button block remains pinned to the bottom on scroll</strong></p></figcaption></figure>

## Block settings

<table><thead><tr><th width="148.14495849609375">Settings</th><th width="110.5928955078125" align="center">Type</th><th>Description</th></tr></thead><tbody><tr><td>Text</td><td align="center"><code>text</code></td><td>Button label.</td></tr><tr><td>Link</td><td align="center"><code>url</code></td><td>Link the button.</td></tr><tr><td>Color</td><td align="center"><code>select</code></td><td>Choose color style: <code>Primary</code>, <code>Black</code>, <code>White</code>, or <code>Secondary</code>.</td></tr><tr><td>Size</td><td align="center"><code>select</code></td><td>Choose button size: <code>Small</code>, <code>Medium</code>, or <code>Large</code>.</td></tr><tr><td>Style</td><td align="center"><code>select</code></td><td>Choose button style: <code>Solid</code>, <code>Outline</code>, or <code>Text</code>.</td></tr><tr><td>Show arrow</td><td align="center"><code>checkbox</code></td><td>Display arrow icon.</td></tr><tr><td><strong>Layout</strong></td><td align="center"></td><td></td></tr><tr><td>Pin to bottom</td><td align="center"><code>checkbox</code></td><td>Pin the block to the bottom.</td></tr><tr><td><strong>Block spacing</strong></td><td align="center"></td><td></td></tr><tr><td>Padding bottom</td><td align="center"><code>range</code></td><td>Adjust bottom padding.</td></tr></tbody></table>


---

# 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 dynamically by asking a question.

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

```
GET https://broadcast.presidiocreative.com/header/mobile-menu/blocks/button.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
