CRZ Integer Slider
A whole-number slider for steps, seeds, and anything you count
- value
CRZ Integer Slider is the integer sibling of the pack's float slider, and it exists because ComfyUI is full of inputs you count rather than measure - steps, seeds, batch size, frame counts, denoise multiplier loops. Dragging a whole-number slider on your dashboard beats typing 42 into a node's property panel every single time, which is exactly what this node is for.
It's part of ComfyUI-CRZnodes, CoreyCorza's dashboard-node pack. Same design language as the rest: one widget, one output, clean canvas-drawn UI, hidden connection wires (press alt+backtick to see them).
How it works
The Python side declares a stock INT input with a default of 5 and a huge max (4294967296 - that's 2^32, so you're never hitting the ceiling). The frontend hides the stock widget and draws a slider. As with its float sibling, double-click the slider handle or track to configure it, and the README's description covers what you're setting: min, max, and step increments. The dialog is min, max, step, comma-separated - so 1, 100, 5 gives you a 1-to-100 slider that jumps in fives. Values are clamped to the range and the step is forced to a positive integer, so you can't create a slider that breaks itself.
The input and output that matter
value(input) - the hidden widget storing the current position. You drag the handle; you don't type.value(output, INT) - the current integer, wired straight into any INT socket:steps,seed,batch_size, loop counts.
One input, one output. Double-click the label on the left to rename it - "Steps" reads better on a dashboard than "Integer Slider."
Installing it
Standard pack install: ComfyUI Manager → search ComfyUI-CRZnodes → install → restart. No requirements, no models.
cd ComfyUI/custom_nodes
git clone https://github.com/CoreyCorza/ComfyUI-CRZnodes.git
Using it well
The output is already INT, so it plugs into integer sockets directly - no converter needed, unlike the float slider. That makes it the lower-friction node for the classic dashboard row: Integer Slider for steps, Float Slider for denoise, Boolean Toggle for switches.
The one workflow this node shines in beyond the obvious: batch generation. Wire it to a batch size or a repeat count and you get a visible "how many am I generating" control instead of a number hiding in a node's properties. Someone in the pack's launch thread specifically wanted preset frame counts for Wan 2.2 (49, 81, 97) selectable without typing - the integer slider with a step of, say, 32 covers the same "jump to common values" need, and the CRZ Custom Dropdown covers the exact-preset version.
Gotchas
Not much to trip over here - it's the most predictable node in the pack. The two things that apply to the whole family: if the slider renders wrong, update your ComfyUI frontend and check for conflicting UI-overriding node packs (one user traced a rendering problem to MixLab nodes). And if a workflow you downloaded has an Integer Slider that seems frozen, it's likely the hidden-wire thing again - the value and the slider are fine, the connection lines are just invisible. Toggle them with alt+backtick.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| value | INT | 50–4294967296 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| value | INT | — |