Select

A Slider component for displaying current value and intervals in range.
Import
import { Select } from '@kubed/components;'
Source
View source code
Docs
Edit this page
npm
@kubed/components

When To Use

To input a value in a range.

Basic Slider

Basic Slider. The size of the Slider can be set by the prop of size.

Disabled Status

Single Slider

Single slider can set uniform scale and uneven scale. If the weight is not passed in marks, the default is uniform scale.

Range Slider

Uneven Slider

The Uneven scale can be set by passing the weight prop in marks.

MinRange can set minimal range interval of Slider,if it less than 1, decimals is required to set when move the Slider。

Controlled

By default, both Slider and RangeSlider are uncontrolled, add onChange and value props to make them controlled: