Simple Float Slider
Simple Float Slider for ComfyUI
- float
Most of the float knobs in ComfyUI live between 0 and 1 anyway. Denoise strength, LoRA weight, ControlNet influence, that one parameter everyone sets to 0.35 and forgets - they're all bounded 0–1 sliders in disguise. The Simple Float Slider is exactly that: a fixed-range 0.00–1.00 slider with a big live readout, no configuration, no settings, no way to mess it up.
It's the zero-config member of the ComfyUI-SimpleFloatSlider pack by Carasibana (three nodes under utils/sliders, MIT licensed, zero Python dependencies). Where the pack's Configurable Float Slider exists for unusual ranges, this one exists for the 95% case. If all you need is a denoise or strength knob, this is the node to grab - and it's the pack's original namesake.
How it works
The mechanism is delightfully small. The Python node does one thing - round(value, 2) - and the slider look-and-feel is a bundled JavaScript widget. Drag the blue thumb, scroll over the track to nudge in 0.01 steps, or click the big number to type an exact value (Enter confirms, Escape cancels). Nothing re-queues while you drag; the value only feeds the graph when you run.
Two details that make it nicer than a plain widget: the fill on the track updates live so you can see where you are in the range, and the value is always rounded to two decimals, so what you see is exactly what the graph gets.
The inputs and output
One input, value - a slider, default 0.5, hard-bounded 0.00–1.00, stepping by 0.01. There is nothing else. One output, float, holding the current value. To drive another node with it, convert that node's widget to an input and wire this output in - same "one authoritative value, fanned out" pattern as the core Primitive nodes described in the KB's plumbing docs.
The flip side of zero config: if you need a range other than 0–1, or a different step size, this node won't do it. That's the Configurable Float Slider's job. Don't be the person who tries to bend a fixed slider into a 0–100 denoise scale.
Installing it
Search "ComfyUI-SimpleFloatSlider" in ComfyUI Manager and install, or clone it:
cd ComfyUI/custom_nodes
git clone https://github.com/Carasibana/ComfyUI-SimpleFloatSlider
Then restart ComfyUI - the JS frontend only loads at startup. All three nodes appear under utils/sliders. There's no requirements.txt, no model files, nothing to download; the pack is one Python file and one JS file. This is the rare custom node that cannot cause a dependency conflict, which matters in an ecosystem where (as the KB's ComfyUI docs put it) dependency clashes are a top source of "why does nothing run" pain.
Troubleshooting
- Slider shows as a boring widget - full restart, not just a workflow reload; the custom frontend needs the startup pass.
- Value not sticking between runs - drag it and re-queue; like any widget, the displayed value is what runs. If a saved workflow loads with the wrong value, re-check you're on a recent version of the pack.
- Need a different range? - wrong node. That's not a bug, it's the feature.
For a denoise, strength, or weight knob, stop looking. This is the one.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| value | FLOAT | 0.500–1 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| float | FLOAT | — |