> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flowx.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Slider

> The slider lets end users select a numeric value from a defined range by dragging a handle, with configurable min and max values, step size, and an optional value label.

![](https://s3.eu-west-1.amazonaws.com/docx.flowx.ai/building-blocks/ui-designer/slider.gif)

The slider component lets end users pick a numeric value from a defined range by dragging a handle. You set the range with min and max values, control granularity with a step size, and can display the selected value with an optional suffix such as a unit of measurement. Like other form elements, the slider binds to a process data key so the selected value can drive business rules, decisions, and integrations.

## Configuring the slider element

### Slider generic settings

The available configuration options for this form element are:

* [**Process data key**](#process-data-key)
* [**General properties**](#general-properties)
* [**Formatting**](#formatting)
* [**Datasource**](#datasource-configuration)
* [**Validators**](#validators)
* [**Event handlers**](#event-handlers)
* [**Expressions**](#expressions)
* [**Slider styling**](#slider-styling)

#### Process data key

Process data key establishes the binding between the slider element and process data, enabling its later use in [decisions](https://docs.flowx.ai/6.x/docs/building-blocks/node/exclusive-gateway-node.md), [business rules](https://docs.flowx.ai/6.x/docs/building-blocks/actions/business-rule-action/business-rule-action.md) or [integrations](https://docs.flowx.ai/6.x/docs/building-blocks/node/message-send-received-task-node.md).

#### General properties

* **Label**: The visible label for the slider element.
* **Show value label**: Shows the currently selected value as a label. On by default.
* **Min value**: The lowest selectable value. Required, default `1`. Accepts a computed value (**f(x)**). Min value can't be greater than Max value.
* **Max value**: The highest selectable value. Required, default `100`. Accepts a computed value (**f(x)**).
* **Suffix**: Optional text, such as a unit of measurement, shown after the value label and after the min and max labels. The field is disabled when the process data key is of type currency.
* **Step size**: The increment by which the value changes when the handle moves. Required, default `1`.
* **Helpertext**: Additional information about the slider element, which can be optionally hidden within an infopoint.

#### Formatting

* **Display formatting**: When on, the slider shows its values in the localized currency format and hides the suffix.

#### Datasource configuration

**Default value**: The value the slider is set to when it first renders. Enter a number, or switch to a computed value (**f(x)**) to calculate it with a JavaScript expression.

![](https://s3.eu-west-1.amazonaws.com/docx.flowx.ai/building-blocks/ui-designer/slider_general.png)

#### Validators

The following validators can be added to a slider: `required`, `customExpression` and `custom`. For more information, see the [validators documentation](https://docs.flowx.ai/6.x/docs/building-blocks/ui-designer/validators.md).

#### Event handlers

Event handlers can be added to the slider element to define its behavior and interactions.

* **Trigger**: **On change** (`CHANGE`).
* **Action type**: Select the action type. For more information, see the [Event Handlers documentation](https://docs.flowx.ai/6.x/docs/building-blocks/ui-designer/event-handlers.md).

#### Expressions

* **Hide condition**: A JavaScript expression that hides the slider element when it returns a truthy value.
* **Disable condition**: A JavaScript expression that disables the slider element when it returns a truthy value.

> [!NOTE]
>
> A disabled condition doesn't need a matching hide condition: each one works on its own. Hidden and disabled fields are both left out of validation.

### Multiple sliders

You can also use multiple sliders UI elements that are interdependent, as you can see in the following example:

![](https://s3.eu-west-1.amazonaws.com/docx.flowx.ai/building-blocks/ui-designer/multiple_sliders.gif)

> [!NOTE]
>
> You can improve the configuration of the slider using computed values as in the example above. These values provide a more flexible approach for handling complex use cases. You can find an example by referring to the following documentation:
>
> [**Dynamic & computed values**](https://docs.flowx.ai/6.x/docs/building-blocks/ui-designer/dynamic-and-computed-values.md#computed-values)

### Slider settings overrides

There are instances where you may need to tailor settings configured in the **Generic** settings tab. This proves especially beneficial when you wish to adjust these settings to appear differently across various platforms such as Web, Android, or iOS.

Available override settings:

* Properties:
  * **Label**: Override the slider label.
  * **Helper**: Override helper text/info point.
  * **Suffix**: Override the suffix.
  * **Show value**: Override the show value option.
* Expressions:
  * **Hide**: Override the hide expression.

> [!TIP]
>
> To reuse settings overrides on another platform, open the ⋮ menu next to **\<platform> overrides** and pick **Copy from \<platform>** or **Copy to \<platform>**:
>
> ![The ⋮ menu next to Web overrides, listing Copy from Android, Copy from iOS, Copy to Android and Copy to iOS](https://s3.eu-west-1.amazonaws.com/docx.flowx.ai/6.x/6.x-settings-overrides-copy-menu.png)

### Slider styling

> [tab] Web
>
> > [tab] Sizing
> >
> > Adjusting the size of components is crucial for a responsive design. Fit W (width) offers three options (default **Fill**):
> >
> > * **Fill**: Fills the available space.
> > * **Fixed**: Maintains a fixed width.
> > * **Auto**: Adjusts the width automatically based on content.
>
> > [tab] Spacing
> >
> > Set the margin (space around the slider) on each side. The slider has no padding setting.
>
> > [tab] Grid child
> >
> > Shown only when the slider sits inside a grid container: **Col span**, **Row span**, **Order** and **Alignment** set how the slider is placed in the parent grid.

> [tab] iOS
>
> Similar styling considerations apply to iOS as for web.

> [tab] Android
>
> Similar styling considerations apply to Android as for web.

#### Slider style overrides options

Theme overrides refer to the ability to modify or customize the appearance and behavior of UI components by overriding default theme settings. This can be applied at various levels, such as specific elements or entire sections, and can be platform-specific (Web, iOS, Android).

![Slider Theme overrides section in the Styles tab with every override category added](https://s3.eu-west-1.amazonaws.com/docx.flowx.ai/6.x/slider-theme-overrides.png)

Style options:

> [accordion] Common Properties
>
> * Limits Font **\[FONT]**
> * Font **\[FONT]**

> [accordion] Label
>
> * Default state
>   * Text **\[COLOR]**
> * Disabled state
>   * Text **\[COLOR]**
> * Font **\[FONT]**

> [accordion] Helper
>
> * Text **\[COLOR]**
> * Font **\[FONT]**
> * Helper tooltip
>   * Font **\[FONT]**
>   * Text **\[COLOR]**
>   * Background **\[COLOR]**
>   * Icon **\[COLOR]**

> [accordion] Error
>
> * Text **\[COLOR]**
> * Font **\[FONT]**

> [accordion] Default state
>
> * Limits **\[COLOR]**
>
> * Value **\[COLOR]**
>
> * Filled **\[COLOR]**
>
> * Empty **\[COLOR]**
>
> * Knob **\[COLOR]**
>
> > [!NOTE]
> >
> > On iOS, overrides for the **Knob** are not available.

> [accordion] Disabled state
>
> * Limits **\[COLOR]**
>
> * Value **\[COLOR]**
>
> * Filled **\[COLOR]**
>
> * Empty **\[COLOR]**
>
> * Knob **\[COLOR]**
>
> > [!NOTE]
> >
> > On iOS, overrides for the **Filled** and **Empty** states, as well as the **Knob**, are not available.

> [!NOTE]
>
> To reuse theme overrides on another platform without configuring them again, open the ⋮ menu next to **Theme overrides** and pick **Copy from \<platform>** or **Copy to \<platform>**.
>
> ![The ⋮ menu next to Theme overrides, listing Copy from Android, Copy from iOS, Copy to Android and Copy to iOS](https://s3.eu-west-1.amazonaws.com/docx.flowx.ai/6.x/6.x-theme-overrides-copy-menu.png)


## Related topics

- [Accessibility](https://docs.flowx.ai/6.x/docs/platform-deep-dive/accessibility.md)
- [FlowX.AI 5.1.6 Release Notes (LTS)](https://docs.flowx.ai/release-notes/v5.x/v5.1.x-lts/v5.1.6-march-2026.md)
- [Dynamic & computed values](https://docs.flowx.ai/6.x/docs/building-blocks/ui-designer/dynamic-and-computed-values.md)
- [Localization and internationalization](https://docs.flowx.ai/6.x/docs/building-blocks/ui-designer/localization-and-i18n.md)
- [FlowX.AI 4.6.1 Release Notes](https://docs.flowx.ai/release-notes/v4.x/v4.6.x/v4.6.1-february-2025/v4.6.1-february-2025.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.