๐ Controls 1 (Drawer)
One slot, one knob โ the smallest Drawer control hub
- value_1
Most nodes try to do a lot. DrawerControls1 does the opposite: one slot, one value, one output - a single knob you can point at whatever widget in your workflow deserves the spotlight. It's the minimal member of the Drawer Controls family (Controls1, 4, 8, 12), all from ComfyUI-Drawer, and for a workflow where you only ever tune one number, it's the right-sized tool.
What's on it
Two inputs, one output:
- value_1 - the value as text.
- def_1 - the definition string. First token is the type; the rest is Deck presentation. For example
float | Denoise | 0 | 1 | 0.05 | 0.6says: float, labeled Denoise, range 0โ1, step 0.05, default 0.6. Tokens:int,float,bool,combo,string- withstring | Labelfor a single-line text box andstring | Label | multilinefor multiline.
Output value_1 is typed *, so it feeds any input. To use it: right-click the widget you want to control (a KSampler's denoise, say), Convert to input, and wire the output into it. Because DrawerControls1 is a Drawer node, add a ๐ to its title and the single slot shows up in the Deck as a proper slider - the cleanest possible surface for "I only ever change this one thing."
The backend converts value_1's text to the type your def_1 declares; for bool, anything in 1/true/yes/on/enabled counts as true.
Installing it
cd ComfyUI/custom_nodes
git clone https://github.com/Kuroi961/ComfyUI-Drawer.git
pip install -r ComfyUI-Drawer/requirements.txt
Or search ComfyUI-Drawer in ComfyUI Manager. requirements.txt is just Send2Trash; no models to download.
Gotchas
- Empty
def_1means the value is treated as a string. If a number arrives as text at an INT input, check your type token. - The
*output is untyped, so ComfyUI won't catch a mismatch at the socket - it errors downstream. Checkdef_1before you hunt bugs in the sampler. - If you need to tune more than one thing, grab Controls4 instead. One slot is a feature only when one thing is what you actually change.
Honestly, on a desktop you may never need this - a converted widget does the same job. Where it earns its keep is the Drawer: a single, well-labeled slider in the deck beats a widget buried in a node you have to scroll to.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| value_1 | STRING | โ | |
| def_1 | STRING | โ |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| value_1 | * | โ |