Kmp Slider
A flexible and customizable Slider
Parameters
The current value of the slider
The allowable range of the current value
The increment between selectable values
If interaction with the slider is enabled or not
The list of ticks to mark on the slider
The units the slider value represents (i.e., millimeters, Hz, dB, .etc.)
The label for the slider. Setting to null will not render any label.
Formats the float value into a string for display in the value label and manual entry modal
The direction the slider is displayed; horizontal (default) or vertical
Sets the scale interpretation to be logarithmic rather than linear
Styles to customize the look and feel of default elements
An optional composable to control the layout of the Slider
An optional composable to control the look and layout of the label
An optional composable to control the look and layout of the value label. Setting to null will not render a value label.
An optional composable to control the look and layout of the Thumb
An optional composable to control the look and layout of the track
Mutable state to control if the manual entry is open or not
An optional composable to control the look and layout of manual entry
The callback for when the user begins interacting with a thumb
The callback for when the user stops interacting with a thumb
The callback for when the value changes
A flexible and customizable Slider
Parameters
The current value of the slider
The allowable range of the current value
The increment between selectable values
If interaction with the slider is enabled or not
The list of ticks to mark on the slider
The units the slider value represents (i.e., millimeters, Hz, dB, .etc.)
The label for the slider. Setting to null will not render a label.
Formats the float value into a string for display in the value label and manual entry modal
The direction the slider is displayed; horizontal (default) or vertical
Sets the mode multiple thumbs should work.
Range: show all thumbs and allow them to be interacted with individually
Group: Show one thumb for all values. The thumb will grow on the main axis to show the full size of the values. Moving the thumb will adjust all values by the same distance.
The minimum allowed distance between two thumbs. This is only used when multiThumbMode is Range.
Sets the scale interpretation to be logarithmic rather than linear
Styles to customize the look and feel of default elements
An optional composable to control the layout of the Slider
An optional composable to control the look and layout of the label
An optional composable to control the look and layout of the value label. Setting to null will not render a value label.
An optional composable to control the look and layout of the Thumb
An optional composable to control the look and layout of the track
Mutable state to control if the manual entry is open or not
An optional composable to control the look and layout of manual entry
The callback for when the user begins interacting with a thumb
The callback for when the user stops interacting with a thumb
The callback for when the value changes. Only changed thumb values will be passed.