> For the complete documentation index, see [llms.txt](https://interopxyz.gitbook.io/ui-plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://interopxyz.gitbook.io/ui-plus/components/display/gradient.md).

# Gradient

## Description

Create a gradient legend from colors and parameters with a min and max label

{% tabs %}
{% tab title="Preview" %}
![](/files/6YoVf7UcvMZawQNFA0cA)
{% endtab %}

{% tab title="Location" %}
**Name** | Ui Gradient

**Nickname** | Gradient

**Tab** | Ui

**Panel** | Display

**Division** | 4
{% endtab %}

{% tab title="Inputs" %}
**\*E** | **Element** (*Ui+ Element*) | An optional input for an Element.&#x20;

> If an Element is input it will be updated, if empty a new Element will be created.
>
> The input control must be of the same type as the component

**C** | **Colors** (*Colour*) | The controls gradient colors

**P** | **Parameters** (*Number*) | The controls gradient values

**L** | **Low Value** (*Text*) | The min value label for the gradient

**H** | **High Value** (*Text*) | The max value label for the gradient

**A** | **Horizontal Alignment** (*Bool*) | Is legend orientation horizontal

**T** | **Text Color** (*Colour*) | The control's text color
{% endtab %}

{% tab title="Ouputs" %}
**E** | **Element** (*Ui+ Element*) | Ui Element Control.&#x20;
{% endtab %}

{% tab title="Mode" %}
*none*
{% endtab %}
{% endtabs %}

## Usage

![](/files/sd0uxPgO2YdS026wfHvM)
