# ⬇️ Dropdown

{% hint style="success" %}
**Available on:** Product page, Collection page
{% endhint %}

✨Demo product: [Dropdown](https://optis-color-swatch-variant.myshopify.com/products/dropdown?_pos=1&_psq=drop&_ss=e&_v=1.0) (password: 1)

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

### **Function**

Displays option values inside a **dropdown selector**, allowing customers to choose one value from a list.

### **How it works**

* Options are shown in a **collapsed dropdown**
* Customers select one value at a time
* The selected value is displayed as the active choice

### **Use when**

* Options have **many values**
* You want to **save space** on the product page
* Options are **text-based** and don’t need visual comparison

### **How it looks on your store:**

* Product page:

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

* Collection page:

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


---

# 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.optis.me/swatch/variant-display/dropdown.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.
