MCPcopy Create free account
hub / github.com/kobaltedev/kobalte / MinStepsBetweenExample

Function MinStepsBetweenExample

apps/docs/src/examples/slider.tsx:85–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83}
84
85export function MinStepsBetweenExample() {
86 return (
87 <Slider
88 class={style.SliderRoot}
89 defaultValue={[10, 20]}
90 minStepsBetweenThumbs={10}
91 >
92 <div class={style.SliderLabel}>
93 <Slider.Label>Label</Slider.Label>
94 <Slider.ValueLabel />
95 </div>
96 <Slider.Track class={style.SliderTrack}>
97 <Slider.Fill class={style.SliderRange} />
98 <Slider.Thumb class={style.SliderThumb}>
99 <Slider.Input />
100 </Slider.Thumb>
101 <Slider.Thumb class={style.SliderThumb}>
102 <Slider.Input />
103 </Slider.Thumb>
104 </Slider.Track>
105 </Slider>
106 );
107}
108
109export function VerticalSliderExample() {
110 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected