Pular para o conteúdo

Range Input

Este conteúdo não está disponível em sua língua ainda.

The RangeInput component is a slider input for selecting numeric values within a specified range. It supports custom icons, step values, and size or color variants.

  • Interactive slider: Drag or tap to select values.
  • Bindable value: Supports two-way binding for reactive state updates.
  • Customizable icons: Can display icons to indicate meaning or context.
  • Flexible appearance: Supports size and color props for styling.
  • Integrates with badges: Works with visual indicators for dynamic feedback.
0
0
bindable
0
0
0
0
0
0
0
0
0
0
0
0
PropTypeDefaultDescription
valuenumber0Current value of the slider.
bind:valuenumberTwo-way binding for reactive updates.
minnumber0Minimum value of the range.
maxnumber100Maximum value of the range.
stepnumber1Step increment between values.
sizestringVisual size variant (small, medium, large).
colorstringColor variant indicating status or theme.
iconstringOptional icon to display alongside the slider.
disabledbooleanfalseDisables user interaction.
classstringOptional CSS classes for styling.
stylestringInline style overrides.
  • Use step to control granularity for precise value selection.
  • Bind value to state for reactive UI updates.
  • Use icons or labels to clarify slider purpose.
  • Avoid overly small sliders for accessibility and usability.
  • Combine with badges or visual indicators for instant feedback.