Solidtype_heroui.SliderHeroUI's Slider: Kobalte's Slider.Root, with HeroUI's classes from Styles.Slider, whose values -- one, or two for a range -- are chosen by its thumbs along its track, by a pointer or the arrow, page, Home and End keys, on its step's grid within its range. Its Label names it, its Output shows its values, and its Fill is drawn between them.
<Slider default_value=(fun () -> [| 30. |])>
<Label>"Volume"</Label>
<Slider.Output />
<Slider.Track><Slider.Fill /><Slider.Thumb /></Slider.Track>
</Slider>format_options, as HeroUI's formatOptions, formats each value its output shows and each thumb tells a reader, by Kobalte's I18n.create_number_formatter in Kobalte's locale, a decimal by default: a thumb's value as Kobalte tells it alone is a decimal.
A part is used inside a Slider: elsewhere it raises Invalid_argument as it is made.
module Output : sig ... endThe values as text, joined by an en dash, or the children it is given.
module Track : sig ... endThe line the thumbs move along, Kobalte's.
module Fill : sig ... endThe part of the track between the start, or the first thumb of a range, and the last thumb: a <div> placed and sized by its style.
module Thumb : sig ... endA thumb, Kobalte's, with the input a keyboard and a reader reach: the indexth, 0 the default, of the slider's values.
module Props : sig ... endval make : Props.t -> Solidtype.Jsx.elementval component : Props.t Solidtype.Jsx.component