Sign In

Style Organizer

Type

Other

Stats

21

0

Reviews

Published

Mar 9, 2026

Base Model

Illustrious

Hash

AutoV2
314B205EB9
default creator card background decoration
Nyx_x's Avatar

Nyx_x

This is a grid/gallery-based style selector extension for Stable Diffusion WebUI Forge. Replaces the default dropdown with a searchable, categorized grid — multi-select, favorites, source filter, and one-click apply.

What it does

  • Visual grid — Styles appear as cards in a categorized grid instead of a long dropdown.

  • Dynamic categories — Grouping by name: PREFIX_StyleName → category PREFIX; name-with-dash → category from the part before the dash; otherwise from the CSV filename. Colors are generated from category names.

  • Instant apply — Click a card to select and immediately apply its prompt. Click again to deselect and cleanly remove it. No Apply button needed.

  • Multi-select — Select several styles at once; each is applied independently and can be removed individually.

  • Favorites — Star any style; a ★ Favorites section at the top lists them. Favorites update immediately (no reload).

  • Source filter — Dropdown to show All Sources or a single CSV file (e.g. styles.csv, styles_integrated.csv). Combines with search.

  • Search — Filter by style name; works together with the source filter. Category names in the search box show only that category.

  • Category view — Sidebar (when many categories): show All, ★ Favorites, 🕑 Recent, or one category. Compact bar when there are few categories.

  • Silent mode — Toggle 👁 Silent to hide style content from prompt fields. Styles are injected at generation time only and recorded in image metadata as Style Grid: style1, style2, ....

  • Style presets — Save any combination of selected styles as a named preset (📦). Load or delete presets from the menu. Stored in data/presets.json.

  • Conflict detector — Warns when selected styles contradict each other (e.g. one adds a tag that another negates). Shows a pulsing ⚠ badge with details on hover.

  • Context menu — Right-click any card: Edit, Duplicate, Delete, Move to category, Copy prompt to clipboard.

  • Built-in style editor — Create and edit styles directly from the grid (➕ or right-click → Edit). Changes are written to CSV — no manual file editing needed.

  • Recent history — 🕑 section showing the last 10 used styles for quick re-access.

  • Usage counter — Tracks how many times each style was used; badge on cards. Stats in data/usage.json.

  • Random style — 🎲 picks a random style (use at your own risk!).

  • Manual backup — 💾 snapshots all CSV files to data/backups/ (keeps last 20).

  • Import/Export — 📥 export all styles, presets, and usage stats as JSON, or import from one.

  • Dynamic refresh — Auto-detects CSV changes every 5 seconds; manual 🔄 button also available.

  • {prompt} placeholder highlight — Styles containing {prompt} are marked with a ⟳ icon.

  • Collapse / Expand — Collapse or expand all category blocks. Compact mode for a denser layout.

  • Select All — Per-category "Select All" to toggle the whole group.

  • Selected summary — Footer shows selected styles as removable tags; the trigger button shows a count badge.

  • Preferences — Source choice and compact mode are saved in the browser (survive refresh).

  • Both tabs — Separate state for txt2img and img2img; same behavior on both.

  • Smart tag deduplication — When applying multiple styles, duplicate tags are automatically skipped. Works in both normal and silent mode.

  • Source-aware randomizer — The 🎲 button respects the selected CSV source: if a specific file is selected, random picks only from that file.

  • Search clear button — × button in the search field for quick clear.

  • Drag-and-drop prompt ordering — Tags of selected styles in the footer can be dragged to change order. The prompt updates in real time; user text stays in place.

  • Category wildcard injection — Right-click on a category header → "Add as wildcard to prompt" inserts all styles of the category as __sg_CATEGORY__ into the prompt. Compatible with Dynamic Prompts.

User guide

Opening the grid

  1. Find the grid icon button (⊞) next to the other tools under the Generate button (txt2img or img2img).

  2. Click it to open the Style Grid modal over the page.



Browsing and filtering

  • Categories — Styles are grouped (e.g. BASE, BODY, ★ Favorites). Click a category in the sidebar (or All / ★ Favorites in the compact bar) to show only that group.

  • Source — Use the dropdown to the left of the search bar: All Sources or a specific CSV file. Only styles from that source are shown.

  • Search — Type in the search box to filter by style name. Search applies on top of the current source and category view.

Selecting styles

  • Click a card to select it (border highlight). Click again to deselect.

  • Select All on a category header to select or clear all styles in that category.

  • Star (★) on a card to add or remove it from ★ Favorites; the Favorites block updates at once.


An example of my csv file:

Applying to prompt

  1. Select one or more styles.

  2. Their prompts are automatic appended to your current prompt and negative prompt (placeholders like {prompt} are replaced as in Forge).

  3. The modal can stay open for more selections, or close it with Escape or by clicking the dark backdrop.

Other controls

  • Collapse all / Expand all — Fold or unfold every category block.

  • Compact — Toggle a denser layout (saved in the browser).

  • Clear — Deselect all styles.

  • — Close the Style Grid.


Style CSV format and categories

Use the standard Forge/A1111 CSV format:

name,prompt,negative_prompt
BASE_Illustrious_Quality,"masterpiece, best quality, highres","lowres, bad anatomy"
STYLE_Watercolor,"watercolor painting, soft edges",""
myfile_My_Custom_Style,"custom prompt here",""

How categories are chosen

RuleExampleCategoryName contains _BODY_ThiccBODY (uppercase before first _)Name contains - (no _)sai-animesai (before first -)ElseSomeStyleFrom CSV filename (e.g. Styles_integrated)Fallback—OTHER

Category colors are generated from the category name (no fixed palette). Styles inside each category are sorted alphabetically.


Adding more styles

  1. Use the format above in a .csv file.

  2. Put it in:

    • Forge root (next to styles.csv), or

    • The extension’s styles/ folder (see repo; contents are typically gitignored).

  3. Restart the UI or reopen the Style Grid to load new or changed files.


Installation

From URL (Forge Extensions tab)

  1. ExtensionsInstall from URL

  2. Paste the repository URL (https://github.com/KazeKaze93/sd-webui-style-organizer.git)

  3. Install, then restart the UI

Manual (using the forge example)

cd /path/to/stable-diffusion-webui-forge/extensions
git clone <this-repo-url>

Manual #2


Unpack the archive in the attachment of the post along the path where you have stored /extensions

Then restart the UI.


Compatibility

  • Stable Diffusion WebUI Forge (latest)

  • Dark and light themes (panel, cards, search, source dropdown)

  • txt2img and img2img


Troubleshooting

IssueWhat to tryTrigger button not visibleEnable the extension in the Extensions tab; do a full UI restart; check console for [Style Grid] messages.Styles not loadingEnsure CSVs are in Forge root or the extension’s styles/ folder; check name,prompt,negative_prompt header and encoding (UTF-8).Dropdown or list hard to readUse the latest version (custom dropdown with theme-aware colors). Clear cache or hard-refresh the page.