Skip to content

Range slider

Single-thumb range slider.

HTML
React
Angular
<certara-slider label="Choose a range" value="50" max="100"></certara-slider>
import { CertaraSlider } from '@certara/certara-ui-react';
<CertaraSlider label="Choose a range" value={50} max={100} />
// In your module (e.g., app.module.ts)
import { CertaraUiAngularModule } from '@certara/certara-ui-angular';
@NgModule({
imports: [CertaraUiAngularModule]
})
// In your template:
<certara-slider label="Choose a range" value="50" max="100"></certara-slider>

disabled

Attributedisabled
Typeboolean
Defaultundefined
Requiredfalse
DescriptionWhether the slider is disabled

label

Attributelabel
Typestring
Defaultundefined
Requiredfalse
DescriptionAccessible label for the slider DEPRECATED. Use <certara-form-group> instead. Will be removed in the next major version.

max

Attributemax
Typestring
Default'100'
Requiredfalse
DescriptionThe maximum value of the slider

min

Attributemin
Typestring
Default'0'
Requiredfalse
DescriptionThe minimum value of the slider

sliderId

Attributeslider-id
Typestring
Defaultundefined
Requiredfalse
DescriptionCustom ID for the slider label (used for aria-labelledby relationship)

step

Attributestep
Typenumber
Defaultundefined
Requiredfalse
DescriptionThe step value of the slider

value

Attributevalue
Typenumber
Default0
Requiredfalse
DescriptionThe value of the slider
NameDescriptionBubbles
certaraChangeEvent emitted when the value changestrue
certaraInputEvent emitted when the input value changestrue

There are no public methods available for this component

There are no slots available for this component

HTML
React
Angular

Range slider with two thumbs and paired number inputs for selecting a min/max span.

<certara-dual-slider min="0" max="100" lower-value="20" upper-value="80"></certara-dual-slider>
import { CertaraDualSlider } from '@certara/certara-ui-react';
<CertaraDualSlider min={0} max={100} lowerValue={20} upperValue={80} />
// In your module (e.g., app.module.ts)
import { CertaraUiAngularModule } from '@certara/certara-ui-angular';
@NgModule({
imports: [CertaraUiAngularModule]
})
// In your template:
<certara-dual-slider min="0" max="100" lower-value="20" upper-value="80"></certara-dual-slider>

disabled

Attributedisabled
Typeboolean
Defaultundefined
Requiredfalse
DescriptionWhether the slider is disabled

lowerValue

Attributelower-value
Typenumber
Defaultundefined
Requiredfalse
DescriptionThe value of the lower thumb. Defaults to min. Pushed up with the upper thumb if it is moved past upperValue.

max

Attributemax
Typestring
Default'100'
Requiredfalse
DescriptionThe maximum value of the slider

maxValue

Attributemax-value
Typenumber
Defaultundefined
Requiredfalse
DescriptionThe value of the upper thumb. Defaults to max. Pushed down with the lower thumb if it is moved below minValue. DEPRECATED. Use upperValue instead. Will be removed in the next major version.

min

Attributemin
Typestring
Default'0'
Requiredfalse
DescriptionThe minimum value of the slider

minValue

Attributemin-value
Typenumber
Defaultundefined
Requiredfalse
DescriptionThe value of the lower thumb. Defaults to min. Pushed up with the upper thumb if it is moved past maxValue. DEPRECATED. Use lowerValue instead. Will be removed in the next major version.

step

Attributestep
Typenumber
Defaultundefined
Requiredfalse
DescriptionThe step value of the slider

upperValue

Attributeupper-value
Typenumber
Defaultundefined
Requiredfalse
DescriptionThe value of the upper thumb. Defaults to max. Pushed down with the lower thumb if it is moved below lowerValue.
NameDescriptionBubbles
certaraMaxChangeEvent emitted when the upper value changestrue
certaraMinChangeEvent emitted when the lower value changestrue

There are no public methods available for this component

There are no slots available for this component