question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Material Symbols (Icon v2)

See original GitHub issue

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Summary 💡

Google has recently introduced a new major iteration on their icon system: Material Symbols: https://material.io/blog/introducing-symbols. This is an awesome new iteration on their icon system, and more importantly, they have made it the default! Proof https://fonts.google.com/icons. This new iteration seems much better.

Screenshot 2022-05-21 at 17 00 35

For SVGs, we might be able to implement the weight with the stroke-width attribute, see: https://feathericons.com/ but we might have to build these SVGs ourselves: https://github.com/google/material-design-icons/issues/1360.

Examples 🌈

Motivation 🔦

We will need to update our icons to reflect this change, both for font and SVG icons. It’s an important step forward in terms of icon

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:25
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ErreMalotecommented, Dec 20, 2022

@oliviertassinari

here it is a react based material symbols maybe using the same patter to create this iteration of Material Symbols.

https://github.com/ed-software/react-material-symbols

0reactions
oliviertassinaricommented, Dec 21, 2022

here it is a react based material symbols maybe using the same pattern

@ErreMalote It does work, using https://github.com/marco-prontera/vite-plugin-css-injected-by-js to inject the CSS and Material System font into the page:

Screenshot 2022-12-21 at 23 47 12
import Icon from "react-material-symbols/dist/rounded";

export default function App() {
  return (
    <div className="App">
      <Icon icon="folder" size={24} fill grade={-25} color="red" />
    </div>
  );
}

https://codesandbox.io/s/nifty-poincare-nfduo3?file=/src/App.js


I think that it would make sense to have a first experimental API using the font.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Material Symbols and Icons - Google Fonts
Introducing Material Symbols. Material Symbols are our newest icons consolidating over 2,500 glyphs in a single font file with a wide range of...
Read more >
Material Symbols guide | Google Fonts
Material Symbols are our newest icons, consolidating over 2,500 glyphs in a single font file with a wide range of design variants. Symbols...
Read more >
Introducing Material Symbols
The design for all three is based on the latest version of Material Icons, but all the Symbols have been newly drawn to...
Read more >
How to Use Google Font Icons, Material Symbols ... - YouTube
These are free to use flexible web font icons better than font awesome. These icons have two flavors. Material Symbols and Material Icons....
Read more >
material-symbols - npm
Latest variable icon fonts and CSS for Material Symbols.. Latest version: 0.4.2, last published: 19 days ago. Start using material-symbols ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found