Float Slider Input ♾️Mixlab
A draggable float knob that doubles as an app control
- FLOAT
A slider that outputs a floating-point number. Drag it, get a value, feed that value into a denoise strength, a CFG scale, a LoRA weight - anything that wants a float. On its own that's a small quality-of-life thing over typing numbers into a widget. The reason it earns its own node is the same as TextInput_: it's one of the controls Mixlab can turn into a web-app input.
Why a slider and not just a number field
Two reasons. First, ergonomics - dragging a bounded slider is faster and harder to fat-finger than typing, and it keeps you inside a range you've decided is sane. Second, and the real motivation, Mixlab's Workflow-to-APP feature only exposes certain node types as app inputs, and FloatSlider is on that list. Publish your workflow as an app and this slider becomes an actual draggable control on the page - so a non-technical user can nudge "strength" from 0 to 1 without ever seeing a node graph. That's what it's built for.
The inputs that matter
- number - the current value the slider sits at, and what gets output.
- min_value / max_value - the bounds of the slider. This is the setting that makes it useful: clamp it to the range that actually makes sense for the parameter you're driving. Driving a denoise? Set min 0, max 1. A CFG? Maybe 1 to 15.
- step - the increment as you drag (default
0.001). Coarsen it if you want cleaner values, e.g.0.05for tidy tenths-ish steps.
Output is a single FLOAT. Wire it straight into any float socket downstream.
Installing it
Get the pack via ComfyUI Manager (search mixlab, install comfyui-mixlab-nodes, restart), or clone it:
cd ComfyUI/custom_nodes
git clone https://github.com/shadowcz007/comfyui-mixlab-nodes
then install requirements and restart. Nothing to download - it's a primitive.
Worth knowing
- Set your min/max to the parameter, not to defaults. The out-of-the-box 0–1 range is fine for strengths and denoise, but if you're driving CFG or steps you'll want a wider band. The slider's whole value is that it bounds the input.
- Use this specific node if you're building a Mixlab app. For a normal graph any float node works, but only the recognized Mixlab input nodes surface as app controls - a generic primitive won't.
- App page opens blank? That's the folder-name gotcha, not the slider. A zip download names the folder
comfyui-mixlab-nodes-main; the app feature needs it renamed to exactlycomfyui-mixlab-nodes.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| number | FLOAT | 0.0000–18446744073709550000 | — |
| min_value | FLOAT | 0.000-18446744073709550000–18446744073709550000 | — |
| max_value | FLOAT | 1.000-18446744073709550000–18446744073709550000 | — |
| step | FLOAT | 0.001-18446744073709550000–18446744073709550000 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| FLOAT | FLOAT | — |