Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use React SVG components for icons instead of an icon font #10353
This issue is a continuation of the discussion on #7809.
What problem does this feature solve?
The goal is, in one of the future Ant Design minor/bugfix releases, to stop using an icon font by implementing icons as React SVG components instead.
There are multiple articles explaining how SVGs are better than icon fonts:
What does the proposed API look like?
There are two main features to preserve to be able to make the switch without introducing breaking changes:
In the long term, to make sure only used icons end up in the final application bundle, we could stop using the
What do you think? Can we make the switch without waiting for Ant Design 4?
@tibdex thank you so much for getting this started. Offline access is critical for our application (we have an Electron desktop version that needs to operate for extended periods of time without Internet access). Thanks, @yesmeck for seeing the importance of this enhancement! I look forward to it being integrated.