Skip to content

feat(svg-sprites): add grouped sprite bundles - #1212

Open
Cody Sorgenfrey (codysorgenfrey) wants to merge 2 commits into
microsoft:mainfrom
codysorgenfrey:feat/grouped-svg-sprites
Open

feat(svg-sprites): add grouped sprite bundles#1212
Cody Sorgenfrey (codysorgenfrey) wants to merge 2 commits into
microsoft:mainfrom
codysorgenfrey:feat/grouped-svg-sprites

Conversation

@codysorgenfrey

@codysorgenfrey Cody Sorgenfrey (codysorgenfrey) commented Aug 11, 2026

Copy link
Copy Markdown

Adds grouped sprite bundles by size/style while keeping the existing per-icon sprite output.

The user can then bundle them as static assets and use any icon they'd like without having to install each icon:

<svg>
  <use href="/assets/fluent_icons_20_regular.sprites.svg#add" />
</svg>

This change creates files like fluent_icons_20_regular.sprite.svg and fluent_icons_20_filled.sprite.svg with ids like access_time, add, and alert so the bundle can be used as a single symbols sheet per size/style without repeating the suffix in every id.

It also updates the sprite build verification to accept the new bundle naming format and documents the grouped bundle output in the SVG sprites README.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@codysorgenfrey

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree company="Microsoft"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant