Components

Slider

An interactive control that lets users select a value from a range by dragging a handle horizontally or vertically.

Slider

A slider is a horizontal bar that you can drag left or right to select a value within a range, similar to adjusting volume.

30

Installation

If you hit any issues, make sure you check out the installation guide here for more information.

Composed Components

When you install this component via the CLI, it automatically loads all composed components, so you don’t need to add them individually.

The Slider comes packed with several components to enhance functionality and provide a seamless experience.

Field's a core piece every other component uses. It flexes reusable styles, showing up in inputs, labels, descriptions, and more.
A brief, informative message that appears when hovering or focusing on an element.

Manual Installation

Make sure you also install the composed components and the required packages for the component to function properly.

Step

Set a step value on the slider, and it will increment or decrement by that fixed amount each time you adjust it.

0
Step in 10

Tooltip

Add a tooltip to the slider to show the current value.

SoftLoud

Range

By passing an array to the defaultValue or value props, you can create a range slider.

25 – 75

Orientation

You can change the orientation of the slider to vertical.

Equilizer

Suffix Prefix

Sometimes you need to add a prefix or suffix to the slider, like a volume icon.

1

Description

Add a description to the slider.

30
Brightness of the image

Controlled

You can control the slider's value by using the value prop.

31
Current temperature: 31
21 – 86
Current saturation: 21,86

Disabled

When the slider is disabled, it appears grayed out and becomes non-interactive.

0

Get premium Blocks

Create stunning, professional-grade layouts that not only save time but also elevate the quality of your projects.