Is there a RangeSlider in kotlin react?

Hello,

I’m looking for a Slider where I can set the start and the endpoint like this:

I saw that there is a kotlin-mui library: kotlin-wrappers/kotlin-mui at master · JetBrains/kotlin-wrappers · GitHub
But I didn’t found the desired component

Any ideas how to implement this?
In kotlin i useing the react version 18.2.0-pre.382

Thank you :slight_smile:

If anyone is interested, I found the solution:

                       Slider {
                            value = arrayOf( 0.7,0.8)
                            min = 0f
                            max = 1f
                            step = 0.05
                            marks = true
                            onChange = { _, numbers, _ ->
                                val values = numbers as Array<Float>
                                ...
                            }
                        }
1 Like