Nodes/ComfyUI-Drawer/๐Ÿ“ Controls 1 (Drawer)
ComfyUI Node

๐Ÿ“ Controls 1 (Drawer)

One slot, one knob โ€” the smallest Drawer control hub

By Kuroi961ยทCreated 5 months agoยทUpdated about a month agoยท 5
๐Ÿ“ Controls 1 (Drawer)
    • value_1
    โ—„value_1โ–บ
    โ—„def_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.6 says: float, labeled Denoise, range 0โ€“1, step 0.05, default 0.6. Tokens: int, float, bool, combo, string - with string | Label for a single-line text box and string | Label | multiline for 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_1 means 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. Check def_1 before 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.

    CategoryDrawer

    Inputs (2)

    NameTypeDefaultDescription
    value_1STRINGโ€”
    def_1STRINGโ€”

    Outputs (1)

    NameTypeDescription
    value_1*โ€”