Nodes/LF Nodes/Control panel
ComfyUI Node

Control panel

Where this pack's widgets get their looks (and colors)

By lucafoscili·Created 2 years ago·Updated 2 years ago· 50
Control panel
  • ui_widget

    This is the most unusual node in the LF Nodes pack, because it doesn't do anything to your images, text, or models. It doesn't even have outputs. What LF_ControlPanel does is let you change how every other LF Nodes widget looks - the color theme for the whole suite.

    LF Nodes is built around fancy frontend widgets: masonry galleries, compare sliders, history dropdowns, code panels. They all come from the Ketchup Lite web component library and they're all skinnable. The Control Panel is where you set that skin. The author described it in his r/comfyui release post as a node "to set different colors for the library's widgets depending on the workflow" - so you can have one palette for a photography workflow, another for a LoRA-testing grid, and have the node tell you which mode you're in at a glance.

    How it works

    There are no required inputs and no outputs. You drop the node on the canvas and configure the color scheme in its widget (a KUL_CONTROL_PANEL widget, naturally). It's a per-workflow setting that applies to the LF Nodes widgets in that graph. Think of it less as a data node and more as a theme file that lives inside your workflow JSON - which is genuinely useful when you keep a handful of "house style" workflows around and want them visually distinct at 10 paces.

    If that sounds cosmetic, it is - and that's the point. It exists to make the pack's visual style carry information about what a workflow is for. If you don't care about theming, you can safely ignore this node forever; nothing in the pack requires it.

    Where it sits in the pack

    Two honest notes for the beginner:

    • It only styles LF Nodes' own widgets. It won't recolor your KSampler or stock LoadImage, and it has zero effect on other packs' nodes.
    • Because this repo is frozen (the pack migrated to lf-nodes in early 2025), don't expect the control panel's theme options to grow. What's there is what you get.

    Installing it

    Same as every node in this pack:

    cd ComfyUI/custom_nodes
    git clone https://github.com/lucafoscili/comfyui-lf
    

    then restart, or just install LF Nodes through ComfyUI Manager. No dependencies, no models, no API keys - the whole pack is self-contained.

    A real gotcha

    Because it has no outputs, LF_ControlPanel has a habit of getting orphaned if you delete the rest of a workflow, and people occasionally forget it's there and wonder why their graphs "changed theme." It's harmless - worst case it makes a fresh workflow look like your old one until you delete or reset it. If a shared workflow uses a very specific color scheme you find ugly, this is the single node to blame and the single node to delete.

    Category✨ LF Nodes/Configuration

    Inputs (1)

    NameTypeDefaultDescription
    ui_widgetoptKUL_CONTROL_PANEL[object Object]

    Outputs (0)

    No outputs