TanStack/ranger

Support non-linear ranges

etimberg opened this issue · 4 comments

Got this idea when playing with the custom-steps sample. Would be cool to support a logarithmic interpolation on the slider.

Implementation Ideas

  1. Built in support for 'linear' and 'logarithmic' interpolation
  2. Custom interpolation support via props

The scale used internally could easily be exposed. All it does is translate a value into a width percentage. :)

Already working on it ;)

Nice!

Done in #5