Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support or recommendation for Material Symbols icons #4475

Open
fabriziocucci opened this issue Aug 10, 2024 · 0 comments
Open

Add support or recommendation for Material Symbols icons #4475

fabriziocucci opened this issue Aug 10, 2024 · 0 comments

Comments

@fabriziocucci
Copy link
Contributor

fabriziocucci commented Aug 10, 2024

Is your feature request related to a problem? Please describe.
Icons play a crucial role in truly polished experiences. The current support for MD icons is based on the legacy Material Icons collection (through MaterialCommunityIcons). While this is great to start with, the legacy icons collection tends to fall short as soon one needs to tap into the additional level of customisation that the new Material Symbols collection provide:

  • style (i.e. sharp, rounded, outlined)
  • weight
  • grade
  • optical size

Describe the solution you'd like

  1. Ideally, it would be amazing if the default icons could be based on Material Symbols rather than the old Material Icons.
  2. Alternatively, it would be great to extend the icons doc to provide a recommendation for existing libraries or workarounds to leverage the new Material Symbols.

Describe alternatives you've considered
Searched for React Native libraries with Material Symbols support, very few results with poor maintenance level.

Additional context
From fonts.google.com it is possibile to download the icons in the the three style (i.e. sharp, rounded, outlined), each of which will come with:

  • one TTF file containing the variable font with size 12MB
  • 56 TTF files containing the static fonts with various combinations of size (28, 36, 48), fill (0, 1), weight (thin, extra light, light, regular, medium, semi bold, bold). Each one of those has size between 1MB and 1.5MB

Using createIconSet from Expo with one of the static files above (actually two since it is very likely that filled and not filled icons are both needed) and the corresponding codepoints, it is possible to make things work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant