CivArchive
    ← All articles
    Published November 26, 2026by Nyx_x

    Style Grid for ComfyUI: the complete guide

    45 views0 reactions0 comments on CivitAI1 collected
    tool guidestyle gridguidewildcardsstylescustom nodescomfyui

    Style Grid is a ComfyUI node that gives you a panel of style cards. You click a card and its tags go into the node's text. Click it again and they come back out. This guide covers the whole thing: wiring the node, picking styles, wildcards, and adding your own style packs.

    On Forge, reForge or A1111? There's a separate WebUI version with its own guide. The same style packs work in both.

    Download: Style Grid (ComfyUI Version) on Civitai or GitHub.

    The screenshots in this guide use a neutral demo library with placeholder previews.

    Install it

    1. Open ComfyUI-Manager, then Custom Nodes Manager.

    2. Search for Style Grid and click Install.

    3. Restart ComfyUI when it asks.

    Updates come through the Manager too. If you prefer git:

    cd ComfyUI/custom_nodes
    git clone https://github.com/KazeKaze93/sd-comfyui-style-organizer

    Wire the node

    Add the Style Grid node from the node search. It has two text fields, text and negative_text, and two STRING outputs, positive and negative.

    Drag positive onto the text box of your positive CLIP Text Encode node, and negative onto the negative one. Dropping a STRING output on a text box turns that box into an input, so there's no extra convert step. It works with whatever text encoder your workflow already uses.

    You can type your own prompt into the node's fields as usual. Styles get added around it.

    Your first five minutes

    Click Browse Styles on the node. The panel opens on top of the canvas. A small demo pack is included, so you'll have something to click right away.

    The left sidebar lists your categories. The dropdown at the top picks a style pack (one CSV file) or All Sources. Click any card to apply it: the card gets a highlighted border and its tags appear in the node's text. If the style has a negative prompt, that goes into negative_text.

    Everything you've picked sits in the tray at the bottom of the panel. Drag the chips to reorder them, and the tags in the node follow. The ✕ on a chip removes that style. Clear in the tray drops the whole selection, and Save set keeps it as a preset.

    One thing to know before you press it: the eraser button in the header (Clear prompts and selection) empties both text fields of the node completely, including anything you typed yourself. If you only want to drop the styles, use Clear in the tray.

    Chips on the node

    You don't have to open the panel to see what's applied. Between the seed and the Browse Styles button, the node shows a chip for every style in its text and a purple chip for every wildcard.

    The ✕ on a chip removes that style or wildcard from the node, and Ctrl+Z brings it back. Clicking a chip opens the panel for that node. When there are more chips than fit in two rows, the rest collapse into a +N chip that also opens the panel.

    Applied styles are saved with the workflow, so when you load it again the chips show exactly what you picked.

    Finding a style

    Start typing in the search box and the grid filters as you type. Suggestions drop down under the box; pick one with the arrow keys and Enter, or click it. Pressing / jumps to the search box from anywhere in the panel.

    Cards stay one line tall, so long names get cut off with an ellipsis. Hover the card and you'll see the full name. Nothing else in the grid moves.

    The panel works from the keyboard as well. Press Tab to get into the grid, move with the arrow keys, and hit Enter or Space to toggle a style. Shift+F10 opens the menu for whatever is focused. Escape closes dialogs and menus first, then clears the search, then closes the panel.

    Gallery view and previews

    The two-button switch to the right of the search box flips between Grid (text cards) and Gallery (a preview image for every style).

    In the ComfyUI version, previews are images you upload yourself. Right-click a card and choose Upload preview…. The ComfyUI version doesn't generate them for you.

    In the gallery, hovering a card shows two small buttons: ★ for favorites and ⋯ for the style menu.

    Favorites and presets

    Right-click a card and choose Add to favorites. The card gets a star and shows up in the Favorites view in the sidebar.

    A preset is a saved set of styles, wildcards included. Select what you want, then click Save set in the tray or use the last tile in the Presets view.

    Each preset is a card that lists what's inside. Apply merges the set into your current selection, and an applied preset offers Remove. The ⋯ menu on the card renames or deletes it. If a style from a preset is no longer in your library, the card marks it as missing.

    Favorites and presets are saved by ComfyUI on disk, so they don't disappear when you clear your browser data.

    Conflict warnings

    Sometimes one style's negative prompt contains tags that another selected style adds. When that happens, a warning with the number of conflicts appears in the tray. Click it to see each pair. For every pair you can remove either style or choose Keep both.

    The card menu: edit styles without touching a CSV

    Right-click any card (or press Shift+F10) to open its menu.

    From here you can select or deselect the style, add it to favorites, copy its prompt, and manage its preview. The rest of the menu changes the style itself.

    Edit… changes the category, name, prompt, negative prompt, description and the "Works with" list. If you rename a style, its preview, favorite and preset entries follow it. If the style is applied on the node, the node text is updated to the new version.

    Move to category… offers a list of your existing categories.

    Duplicate makes a copy, and Delete… asks before removing anything.

    To create a style from scratch, click the + button in the header. It needs a pack it can write to, so pick one in the source dropdown first.

    The bundled demo pack is read-only, so Edit, Move and Delete are blocked on its styles. Duplicate still works: it writes the copy into your own folder and switches the panel to it.

    Wildcards: let Style Grid pick for you

    A wildcard is a short token in the node's text that gets replaced with a style when the node runs. Right-click a category in the sidebar to open the wildcard menu.

    Random

    Random inserts {sg:category}, for example {sg:lighting}. Every run swaps it for one random style from that category. The pick follows the node's seed. Set control after generate to fixed to get the same style every time, or leave it on randomize for a new one on each run.

    Shuffle

    Shuffle inserts {sgd:category}. It goes through the category like a deck of cards, so every style gets used once before any of them comes back. The deck moves one step per queue run. All images in one latent batch share the same style, so to step through the deck, queue several runs instead of raising the batch size.

    While a shuffle wildcard is active, the panel shows a strip like seed 52113, next draw #4 under the chips. Restart goes back to the first draw. New deck reshuffles with a new seed.

    Pick styles

    Pick styles… is for when you only want part of a category. The grid switches to checkboxes: tick the styles you want, choose Random or Shuffle in the bar at the top, and click Add wildcard.

    The result is a slice token such as {sg:lighting:Golden_Hour,Rim_Light}. You can also type slices by hand:

    • {sg:lighting:Golden_Hour,Rim_Light} picks from just those two styles.

    • {sg:lighting:-Neon_Glow} picks from the whole category except Neon Glow.

    • {sg:body:Male_*} picks from every style whose name starts with Male_.

    Leave the category prefix out of the names: write Tanned, not BODY_Tanned.

    Good to know

    • A wildcard in the positive text also sends the picked style's negative prompt to the negative output, after your own negative text.

    • If a specific pack is selected in the source dropdown, the wildcard only picks from that pack.

    • A slice chip in the tray shows how many styles it can pick from, and its tooltip lists them.

    • You can mix {sg:…} and {sgd:…} in one prompt. They don't affect each other.

    Here's something to try with the demo pack. Put this in the node's text field and queue six runs:

    a lighthouse on a cliff at dusk, {sgd:lighting}, {sg:weather}

    Adding style packs

    A style pack is a plain CSV file. Drop it into ComfyUI/user/style_grid/ and it appears in the source dropdown the next time you open the panel.

    If you want something bigger than the demo pack, start with my SFW Prompt Pack. The rest of my packs are on my profile.

    To write your own pack, you need three columns, plus two optional ones:

    name,prompt,negative_prompt,description,category
    LIGHTING_Golden_Hour,"golden hour, warm sunlight, long shadows","flat lighting","Warm evening light.",
    LIGHTING_Rim_Light,"rim lighting, backlit outline","","",
    CAMERA_Wide_Angle,"wide angle shot","","",

    The category comes from the part of the name before the first underscore, so LIGHTING_Golden_Hour goes into LIGHTING. If you'd rather set it yourself, fill in the category column and that wins.

    A description can also list styles that go well together. Write them as Combos: LIGHTING_Rim_Light; CAMERA_Wide_Angle. and the card shows them as clickable "Works with" chips.

    Don't keep the same CSV in both user/style_grid/ and user/style_grid/imports/. Each copy loads as its own pack and you'll see every style twice.

    Backups, import and export

    Both are under ⋯ More in the header.

    Backup & restore… saves a zip snapshot of your packs, presets, favorites and category order, with thumbnails if you tick the box. Restore shows you what the snapshot will put back and saves a safety copy of your current state first. The newest 20 snapshots are kept.

    Import / Export… writes your styles and presets to a JSON file and reads one back in. Import skips a style only when it's an exact duplicate (same name, same prompt, same negative prompt), so importing your own export twice adds nothing.

    All of this lives in ComfyUI/user/style_grid/, outside the node's own folder. Updating or reinstalling Style Grid through the Manager doesn't touch your packs, presets, previews or backups.

    Fullscreen and theme

    The fullscreen button in the header stretches the panel edge to edge, which helps a lot with big packs. Click it again to go back.

    The panel follows the ComfyUI color palette, light or dark, on its own.

    If something doesn't work

    • The node isn't in the node search. Restart ComfyUI after installing, then reload the browser tab.

    • A pack doesn't show up. Check that the CSV is in ComfyUI/user/style_grid/. Files left in the node's own data folder aren't loaded.

    • You can't edit or delete a style. It's from the read-only demo pack. Duplicate it first.

    • Every style appears twice. The same CSV is in both user/style_grid/ and imports/. Delete one copy.

    • BREAK in a style does nothing. ComfyUI's built-in CLIP Text Encode reads it as a normal word. Use a BREAK-aware encoder such as CLIPTextEncodeBREAK from ComfyUI-ppm.

    • A shuffle wildcard gives the same style for a whole batch. That's how it works: one draw per queue run. Queue more runs.

    A note if you run ComfyUI with --listen: Style Grid's routes have no login of their own, the same as ComfyUI itself. Don't expose it to a network you don't trust.

    Links

    If something in this guide is unclear, leave a comment and I'll fix it.

    Archived from CivitAI · Updated November 26, 2026View source