Nodes/Presentation ComfyUI/Presentation DropDown
ComfyUI Node

Presentation DropDown

A fixed menu when browsing files is overkill

By niknah·Created 11 months ago·Updated 4 months ago· 5
Presentation DropDown
    • combo
    value

    Sometimes you don't want your users picking from whatever's in a folder - you want them picking from a list you decided on. That's Presentation DropDown. Where Presentation File opens a file browser, this node renders a fixed <select> menu on the generated website, with the options you define. The README says it plainly: "A fixed selection. Can be used in place of the Presentation File node when you only want people to select from a pre-defined range."

    It's the right call for anything where a browse would be too much rope - aspect ratio presets, style choices, quality levels, a short list of models you've vetted. You curate the menu; the user just clicks.

    How it works

    It's the pack's combo-input node. The value input is an enum (a combo widget in ComfyUI terms), and its combo method just returns (value,). The actual dropdown is rendered on the site side: the pack's frontend maps ComfyUI combo widgets to a <select> populated from the same option list you set in the node. So the workflow defines the menu once, and the website inherits it. Because it's a combo widget in the ComfyUI graph, you can also wire other nodes into the enum or convert its value further - though the intended use is a standalone menu sitting in the group with your Presentation Tab.

    The inputs that matter

    There's exactly one: value, an enum combo. In ComfyUI, double-click the widget to add/edit the options - the choices list you see in the node's schema is that same list. Type the options you want offered, one per line, and they become the dropdown entries on the site.

    Output: combo (COMBO type) - the selected value as a string. Wire it into whatever node input consumes that choice, e.g. a text/string input on a loader or a conditional node. It's a string output, so anything that takes a string is fair game.

    How to install it

    Same as every node in the pack. ComfyUI Manager, search "Presentation ComfyUI", or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/niknah/presentation-ComfyUI
    

    then restart. Needs Node.js installed separately; first launch runs npm install for the Nuxt site in output/presentation-site (a few minutes). The site is at http://localhost:3000.

    Common issues & troubleshooting

    The dropdown only has one (blank) option. The value enum ships with a single empty choice in the schema - that's the starter list, not a bug. You define the real options by editing the widget in ComfyUI before saving the tab.

    The menu is there but nothing changes in output. The combo output has to be wired into the node that consumes it. An unwired dropdown is decorative.

    Can't see my new options on the site. After editing options, hit save on the Presentation Tab node again and let the site rebuild - then Settings → Presentation → Restart if needed. Watch for duplicate nuxt processes on the folder.

    CategoryPresentation

    Inputs (1)

    NameTypeDefaultDescription
    valueCOMBO1 options:

    Outputs (1)

    NameTypeDescription
    comboCOMBO