# Dropdown Menu

## Purpose

The lowcodera drop down menu component immediately adds professional gloss to your Power App and provides a highly effective menu solution for various application use cases. With its elegant flyout menu, the component has built-in support for icons, various styles and themes.

## &#x20;Variations

![](/files/2iUYuEPOMUmrWvchXUPN)

‌There are several variations of dropdown with different colors and configuration properties.

* Dropdown with Icons
* Dropdown with Circular radius
* Dropdown without Icons
* Dropdown with Outline

## Component Properties

The properties below are the main ones which change this components appearance and behaviors.

<table data-header-hidden><thead><tr><th width="248">Control Property</th><th width="195">Description</th><th width="155">Accepted Values</th><th width="150">Required</th></tr></thead><tbody><tr><td><strong>Property</strong></td><td><strong>Description</strong></td><td><strong>Accepted Values</strong></td><td><strong>Required</strong></td></tr><tr><td>Type</td><td>Property to define dropdown fill</td><td><p>Default</p><p>Outline</p></td><td>X</td></tr><tr><td>IsRequired</td><td>Property to make our dropdown menu field required</td><td>Boolean</td><td>X</td></tr><tr><td>ShowEmptyMenuOption</td><td>Property to show first menu option as empty</td><td>Boolean</td><td>X</td></tr><tr><td>ShowSelectedAsTitle</td><td>Property to show selected option in a title</td><td>Boolean</td><td>X</td></tr><tr><td>PlaceholderText</td><td>Property to show placeholder text for dropdown when no value is selected</td><td>String</td><td>X</td></tr><tr><td>Default</td><td>Property to show default selected item from dropdown</td><td>Numeric</td><td>X</td></tr></tbody></table>

## Examples&#x20;

### Dropdown Menu with Icons

![](/files/5xeMLyPnYt6AGRGnmw01)

{% tabs %}
{% tab title="Static Collection Example" %}
In this example, a collection with static data called `colldropdownwithIcon` is defined in the Power App. The items property of the dropdown menu component is then bound to this collection.

```
ClearCollect(
    colldropdownwithIcon,
    {
        key: "1",
        text: "My profile",
        icon: "user"
    },
    {
        key: "2",
        text: "Settings",
        icon: "cog"
    },
    {
        key: "3",
        text: "Activity",
        icon: "calendar-alt"
    },
    {
        key: "4",
        text: "Support",
        icon: "phone-square"
    },
    {
        key: "5",
        text: "Logout",
        icon: "sign-out-alt"
    }
);


```

{% endtab %}

{% tab title="Property Configration" %}

* [x] `PlaceholderText` property is to set as **Menu with Icons**
* [x] `PlaceholderIcon` is to set as **archive**
  {% endtab %}

{% tab title="Event Configuration" %}
Once we configure our textbox and we want to write some events, we need to use **`OnChange`** Event of the button

```
UpdateContext({Name: DropDownMenu1.CurrentText})
```

{% endtab %}

{% tab title="Output Properties" %}
Please check the following Output properties for Lowcodera's Dropdown control.

| Output Property           | Purpose                                                             | Example                   |
| ------------------------- | ------------------------------------------------------------------- | ------------------------- |
| DropDownMenu1.CurrentText | Get Current selected item's Text from Lowcodera dropdown Component. | DropDownMenu1.CurrentText |
| DropDownMenu1.CurrentKey  | Get Current selected item's key from Lowcodera dropdown Component.  | DropDownMenu1.CurrentKey  |

{% endtab %}
{% endtabs %}

### Dropdown with circular radius

![](/files/jC2wqHfKYky5iYU1FImL)

{% tabs %}
{% tab title="Static Collection Example" %}
You can use the same collection used in [section](#dropdown-menu-with-icons).
{% endtab %}

{% tab title="Property Configration" %}

* [x] `Theme`property is to set as **Default**&#x20;
* [x] `PlaceholderText` is to set as **Menu with Icons**
* [x] `PlaceholderIcon` is to set as **bars**
* [x] `BorderRadius` is to set as **100**

{% endtab %}

{% tab title="Event Configuration" %}
Once we configure our textbox and we want to write some events, we need to use **`OnChange`** Event of the button

```
UpdateContext({Name: DropDownMenu1.CurrentText})
```

{% endtab %}
{% endtabs %}

### Dropdown without Icons

![](/files/KF2GbOQFWOPtNzWfJ5PK)

{% tabs %}
{% tab title="Static Collection Example" %}
In this example, a collection with static data called `colldropdownwithoutIcon` is defined in the Power App. The items property of the dropdown menu component is then bound to this collection.

```
ClearCollect(
    colldropdownwithoutIcon,
    {
        key: "1",
        text: "My profile"
    },
    {
        key: "2",
        text: "Settings"
    },
    {
        key: "3",
        text: "Activity"
    },
    {
        key: "4",
        text: "Support"
    },
    {
        key: "5",
        text: "Logout"
    }
);
```

{% endtab %}

{% tab title="Property Configration" %}

* [x] `PlaceholderText` property is to set as **Menu without Icon**
  {% endtab %}
  {% endtabs %}

### Dropdown with Outline

![](/files/6rVy76tEKySWKyYyhlCK)

{% tabs %}
{% tab title="Static Collection Example" %}
You can use the same collection used in [section](#textbox-with-password).
{% endtab %}

{% tab title="Property Configration" %}

* [x] `Type` property is to set as **Outline**
* [x] `PlaceholderText` property is to set as **Menu without Icon**
  {% endtab %}
  {% endtabs %}


---

# 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.lowcodera.com/ui-components-1/dropdown-menu.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.
