Velocity X Components

Forms

Range / Budget Slider Field

Single budget or quantity slider with a live value readout driven by a small scoped inline script.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add range-slider-field

Built for astro.

Full docs for Range / Budget Slider Field →

Needs a licence key — subscribe here, then velocityx loginonce.

astro v1.0.1
Range / Budget Slider Field
$12,000
$1,000 $50,000

Props

NameTypeRequiredDefaultDescription
namestringNo'budget'
labelstringNo'Project budget'
minnumberNo1000
maxnumberNo50000
stepnumberNo500
defaultValuenumberNo12000
prefixstringNo'$'
suffixstringNo''
helpTextstringNo
classNamestringNo''

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/range-slider-field/RangeSliderField.astro

Using the Range / Budget Slider Field component

Install it with velocityx add range-slider-field. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Forms.