
Icons can convey all sorts of meaningful information, so it's important to ensure they are accessible where appropriate. Whenever possible SVG is preferred as it allows code splitting, supports more icons, and renders faster and better.įor more details, take a look at why GitHub migrated from font icons to SVG icons. There are three exceptions to this naming rule: 3d_rotation exported as ThreeDRotation, 4k exported as FourK, and 360 exported as ThreeSixty.īoth approaches work fine, however there are some subtle differences, especially in terms of performance and rendering quality.

The safest for bundle size is Option 1, but some developers prefer Option 2.
