# Button Customizer

This section allows you to customize the **swatch button** on your product page. You also have a nice preview section to the right, so you could see the effects of each changes in real time.

You can set the button size to **small, medium** or **large**. You can also set the **background color, Border color** and **text color.**

![](/files/CL2U5ufNFNzlMkCw3GVs)

**Here is how the button looks like in frontend:**

![](/files/qugZZv5teZvmjQa61KTI)


---

# 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://docs.yaycommerce.com/yayswatches/how-it-works/button-customizer.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.
