microsoft / fluentui-system-icons

Fluent System Icons are a collection of familiar, friendly and modern icons from Microsoft.
https://aka.ms/fluentui-system-icons
MIT License
5.65k stars 498 forks source link

Create @fluentui/react-svg-icons package (name TBD) without font icons #616

Open tomi-msft opened 11 months ago

tomi-msft commented 11 months ago

The @fluentui/react-icons package has functionality that allows for converting svg icons to font icons built in.

This is good for applications who have package size constraints and want to minimize bundle size added by using the react-icons package. However, this increases the react-icons package size by a decent chunk.

A proposed way to mitigate this is to add a react-icons-lite package with just the svg icons and just esm node module resolution. This issue is to track the work for that

egucciar commented 9 months ago

Would this allow the individual dynamic import of icons ?