const seatEstimate = await io.input.slider('How many seats are needed')
console.log(seatEstimate) // 64
The label to render above the input.
Default value rendered in input. Default 0.
Default value rendered in input. Default 1.
Default value rendered in input. Default undefined.
Default value rendered in input. Default undefined.
Render increment marks along slider. Default false.
Disables user input. Default false.
Dragging slider snaps to marked increments. Default false.
The small help text to render below the input. Default undefined.
Display increment ticks at specific points along the slider. Without an array the marks will be inherited by the step property. Default false.
An asynchronous function that takes unknown input and outputs either true or an error message string to show the user.