Theme editor section and block icons

I am building a custom theme with custom sections and blocks. When I name a section or block certain things (like “Row”, “Button”, or “Text” for example) Shopify chooses an appropriate icon to display when in the Theme editor sidebar. I know it’s not possible to use custom icons for this but it would be extremely helpful if I were to have a glossary or some documentation explaining what icon will be chosen when certain names are used. Does anyone have any info on this.

Also, Shopify Team - I have a feature request. Please add an option in the section and/or block schema allowing us to either provide a Polaris icon name or inline SVG code. This would allow us to choose an icon instead of relying on the file name which is very restrictive.

1 Like

Hi Jeff,

Our logic for selecting the icon in the sidebar isn’t documented anywhere at the moment but we will make sure this gets documented in the near future.

Also, we appreciate the feedback on letting devs select and provide their own icons. I’ll log this and pass it along to the team for consideration.

2 Likes