Components

BaseRangeSlider

A slider with two thumbs for a minimum and a maximum, with number fields for exact values.

components/ui/inputs/BaseRangeSlider.vue
View in the demo

Example

Price
Price minimum
$
–Price maximum
$
Weight
Weight minimum
kg
–Weight maximum
kg

The range filters of BaseDataTable are this component.

API

Props

Name
Type
Default
Description
min
required
number—The lowest value.
max
required
number—The highest value.
stepnumber1The increment.
prefixstring—Shown before the values, such as $.
suffixstring—Shown after the values, such as kg.
min-aria-labelstring—Accessible name of the minimum.
max-aria-labelstring—Accessible name of the maximum.
labelstring—The visible label above the field, linked to it with for and aria-labelledby.
input-idstring—A fixed id for the input. One is generated with useId() when you leave it out.
optionalboolean—Adds “(optional)” after the label. Never mark required fields.
infoBaseInputInfo—A help popover next to the label: a text or a list of { title, text }.
v-modelBaseRangeValue | nullnull[min, max], or null for no limit.

Events

Name
Payload
Description
@update:modelValue[value: BaseRangeValue | null]—

Accessibility

With a label the group renders a fieldset with a legend, so screen readers announce the question before each option. It accepts rules, hint and error-messages like any field.

© 2026 melsami UI.
Developer documentation for melsami UI.