SPFX Pretty

Home › How to fix › Command sets

CMD002Auto-fix

Command has no icon

Why it matters

Without an icon only text shows in the command bar (icons show at 16x16; not in context menus).

How to fix

  1. Click the fix to add a brand initials SVG icon.
In VS Code: right-click the finding → Apply Fix…, or use ▶ Fix step by step in the report.