Skip to content

FormRangeSlider ​

Two thumbs on two native range inputs that cannot cross.

ts
import { FormRangeSlider } from '@zairakai/vue-components/Form'

Usage ​

vue
<FormRangeSlider />

Example ​

20 euros – 80 euros
vue
<script setup>
  import { ref } from 'vue'

  const price = ref([20, 80])
</script>

<template>
  <FormRangeSlider
    v-model="price"
    label="Price"
    :value-text="(value) => `${value} euros`"
  />
</template>

Props ​

NameTypeDefaultDescription
idstring
classstring
modelValuearrayundefined[low, high].
minnumber0
maxnumber100
stepnumber1
labelstring
namestring
formstring
disabledbooleanfalse
valueTextfunc(value) => String(value)How the value is read by a screen reader: (value) => "20 euros".
lowLabelstring'Minimum'
highLabelstring'Maximum'

Events ​

NameDescription
update:modelValue

See Theming for the class hooks and the data-* state of the components.

Documentation of 1.4.4 , built from 8e9b054 on 1.4.4 by pipeline #2989941079 on 2026-10-26.