Add a slider to a tab by callingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Footagesus/WindUI/llms.txt
Use this file to discover all available pages before exploring further.
:Slider({...}). The returned object lets you programmatically set its value and adjust its range.
Parameters
Label displayed above or beside the slider track. Omit to show the slider without a title.
Secondary line of text rendered beneath the title.
Table defining the slider range and starting position.
Increment between selectable values. Use a decimal like
0.1 for floating-point steps.Pixel width of the slider track.
When
true, a tooltip bubble showing the current value appears above the thumb while dragging.When
true, a small text box next to the track shows the current value and accepts direct input. Defaults to false when Title is nil.Icon names placed on the left (
From) and right (To) ends of the slider track.Identifier used by the config system to save and restore this element’s value between sessions.
When
true, dragging is disabled and the element is overlaid with a lock indicator.Called each time the value changes while dragging or when the user confirms a textbox entry. Receives the formatted number.
Methods
slider:Set(value: number)
slider:Set(value: number)
Moves the slider thumb to the given value, clamped to
[Min, Max].Examples
Slider with tooltip, no textbox
Slider without description
Slider without title (full-width track)
OmittingTitle expands the track to fill the full element width. IsTextbox defaults to false in this case.