Nodes/comfyui-VarBoard/VarBoard Bool
ComfyUI Node

VarBoard Bool

A workflow toggle that lives where you can see it

By IA-gyz·Created 6 months ago·Updated 6 months ago· 3
VarBoard Bool
    • BOOL
    • LABEL
    valuefalse
    labelBoolean

    Booleans are the variable type everybody forgets about, and they're the most satisfying thing on a control panel. VB_Bool is a true/false switch that surfaces on the VarBoard panel - a checkbox, essentially - so you can flip a workflow behavior on and off without opening a node you buried three groups deep.

    What it does

    Same pattern as the rest of the pack: the backend is a pass-through that returns (value, label) unchanged, and the frontend renders it as a toggle on the floating panel anchored by VB_Panel. Click the switch on the board, it writes back into the node's widget, and the next run sends the new boolean down the wire.

    Inputs:

    • value - the boolean. Default false, toggled from the board.
    • label - what the row is called on the panel. Default "Boolean".

    Outputs: BOOL (the boolean value) and LABEL (the label string).

    What to wire it into

    Anything that takes a real BOOLEAN input. A growing number of utility and control packs expose toggles - enable/disable a pass, flip a branch in an if/switch node, gate a section of the graph. A VB_Bool on the panel is a far nicer way to flip those than hunting for the checkbox inside a stacked widget.

    One compatibility note, because it trips people up: ComfyUI's BOOLEAN widget type is comparatively recent, and plenty of older nodes still expect an INT 0/1 instead. If the target input's type is INT, a VB_Bool output won't plug in cleanly - check the input type before you wire, or feed it through a small int conversion node. When the target genuinely takes BOOLEAN, this is a one-to-one drop-in.

    Install

    Same as every node in this pack - zero Python dependencies, zero model downloads. ComfyUI Manager (search "VarBoard"), or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/IA-gyz/comfyui-VarBoard
    

    Restart ComfyUI and hard-refresh your browser. Drop a VB_Panel on the canvas and any VB_Bool you add will register itself on the board automatically.

    The honest take

    A boolean row is a small thing, but it's the clearest example of what this pack is actually good at: taking a parameter you'd otherwise squint at somewhere in the graph and making it something you flip without thinking. If your workflow has an "I always forget to turn this off before a big batch" switch, putting it on the board is genuinely the fix.

    CategoryVarBoard

    Inputs (2)

    NameTypeDefaultDescription
    valueBOOLEANfalseBoolean value. Can be toggled from the VarBoard.
    labelSTRINGBooleanDisplay label shown in the panel.

    Outputs (2)

    NameTypeDescription
    BOOLBOOLEAN
    LABELSTRING