Style Grid — a visual style browser for ComfyUI
Style Grid is a node with a searchable grid of style cards instead of a flat dropdown. Click a card and its tags go into the node's text; click it again and they come out. Every applied style shows as a chip right on the node. The panel follows the ComfyUI light or dark palette.
Features
Chips on the node for every applied style and wildcard
Browse by category, filter by style pack (CSV), search with suggestions as you type
Grid and Gallery views — the gallery shows each style's preview image
Favorites (★ on the card) and presets — save a set of styles and apply it in one click
Conflict warning when one style's negative prompt removes another style's tags, with Remove or Keep both
Edit styles in the panel: create, edit, rename, duplicate, move to another category, delete
Previews: upload your own image for any style
Wildcards:
{sg:category}picks a random style at generation,{sgd:category}shuffles through a category without repeatsImport / Export and Backup & restore of your packs, presets and favorites
Connect the node
The node has two STRING outputs, positive and negative. Drag each onto the text of a CLIP Text Encode node; it works with whatever text encoder your workflow already uses. Click Browse Styles to open the panel.
Chips on the node
Each applied style and each wildcard token shows as a chip on the node. ✕ on a chip removes it (one undo step); a click on a chip opens the panel for that node. Reordering styles in the panel reorders the node text and the chips.
Pick styles
Click cards to apply them. Names that do not fit on a card show in full when you hover it.
Search
Type to filter the grid; suggestions show the matching styles with their category. Arrow keys and Enter pick one.
Gallery
Switch the header from Grid to Gallery to see the preview of every style. Upload a preview from the card menu.
Style menu
Right-click a card (or press Shift+F10) for favorites, copy prompt, edit, duplicate, move, previews and delete.
Presets
Presets are cards: Apply merges a set into your selection, an applied set offers Remove, ⋯ renames or deletes it. The last tile saves the current selection as a new set.
Wildcards
Right-click a category in the sidebar:
Random inserts
{sg:category}— one random style from the category when the node runs. The picks follow the node's seed: fixed repeats them, randomize re-rolls.Shuffle inserts
{sgd:category}— every style is used once before any repeats, one step per queue run.Pick styles… lets you tick only the styles you want and inserts a slice such as
{sg:lighting:Golden_Hour,Rim_Light}.
A wildcard in the positive text also adds that style's negative prompt to the negative output.
Installation
Open ComfyUI-Manager → Custom Nodes Manager.
Search for Style Grid and click Install.
Restart ComfyUI and add the Style Grid node to your workflow.
Manual install: git clone https://github.com/KazeKaze93/sd-comfyui-style-organizer into ComfyUI/custom_nodes.
Style packs
Style Grid reads CSV files with the columns name, prompt, negative_prompt (and optionally category, description). Put them in ComfyUI's user/style_grid/ folder. A small demo pack is included. The same packs work in the WebUI version.
More
Full documentation (wildcard syntax, backups, data files): github.com/KazeKaze93/sd-comfyui-style-organizer. Found a bug? Open an issue on GitHub.
WebUI / Forge / reForge version: Style Grid (WebUI Version).
Screenshots show a neutral demo library.
Description
🏷 Chips on the node. The Style Grid node shows a chip for each applied style and each wildcard token in its text. ✕ on a chip removes it (one undo step), a click on a chip opens the panel for that node. Reordering styles in the panel reorders the node text and the chips.
🎴 A new panel. One-row header with a Grid / Gallery switch, a ⋯ More menu and Clear. Presets are cards: Apply or Remove, rename, delete, missing styles marked. A conflicts popover lets you remove one of two clashing styles or keep both. Create, edit (including renaming), duplicate, move and delete styles right in the panel. The panel follows the ComfyUI light or dark palette.
🖼 Gallery and previews. The Gallery view shows each style's preview. Upload your own preview image for any style.
🎲 Much stronger wildcards.
Slices:
{sg:lighting:Golden_Hour,Rim_Light}, with-Nameto exclude andPrefix_*to match. Or tick styles with Pick styles… in the category menuShuffle:
{sgd:category}uses every style once before any repeats, one step per runRandom picks follow the node's new seed input: a fixed seed repeats the picks, randomize re-rolls them
A wildcard in the positive text also brings that style's negative prompt
Wildcards respect the selected style pack
⚡ Fast with big libraries. 5,000 styles open in about 0.4 s instead of 24.7 s; only the visible rows are drawn. Long names show in full when you hover a card. A CSV edited on disk shows on the next panel open.
⌨️ Full keyboard control. Tab into the grid, arrow keys, Enter or Space to select, Shift+F10 for menus, Escape closes one layer at a time.
💾 Safer data. Favorites are stored by ComfyUI, not in the browser. Backup & restore covers your packs, presets, favorites and category order, with a safety snapshot before every restore. Applied styles are saved with the workflow, so a reload shows exactly what you picked. Favorites, presets and previews stay linked when you move your ComfyUI folder.
🧹 Removed: the Random Style button, the Recent view and the preview popup on hover.
🔧 Changed and fixed: Clear empties both text fields of the node completely, including text you typed. Import skips only true duplicates. Same-named styles from different packs no longer get mixed up when you apply, remove, star or edit them.
Compatibility: node inputs and outputs are unchanged and existing workflows load as before (seed is a new optional input). Install or update through ComfyUI-Manager: search "Style Grid".










