`@mui/icons-material` in-editor preview
See original GitHub issueSummary 💡
Having a preview of the icons in the editor is similar to having autocomplete available for the API. Our icons explorer is definitely helpful and better if you need inspiration. But if you know what kind of icon you want then in-editor preview should boost productivity.
Examples 🌈
- link to icons explorer in SvgIcon.d.ts jsdoc
- This shows a preview (vscode) when hovering over an imported icon
import SvgIcon from '@material-ui/core/SvgIcon';
/**
* Preview: ![LockIcon](https://fonts.gstatic.com/s/i/materialicons/lock/v4/24px.svg)
*/
declare const LockIcon: typeof SvgIcon;
export default LockIcon;
credit to @leMaik for the markdown idea.
- Show icon preview in autocomplete (probably requires IDE extension)
Motivation 🔦
Seemed like a useful thing to have to me.
Each of the examples can be explored further and implemented by whomever is looking for some work to do.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Material Icons - Material UI - MUI
2100+ ready-to-use React Material Icons from the official website.
Read more >`@mui/icons-material` in-editor preview · Issue #19697 - GitHub
Having a preview of the icons in the editor is similar to having autocomplete available for the API. Our icons explorer is definitely ......
Read more >Material Design Preview Icon - Font Awesome Icons
Material Design Preview Icon refers to an opportunity to see something purchased or viewed before it is generally available. This Material Design Preview ......
Read more >@mui/icons-material | Yarn - Package Manager
This package provides the Google Material Icons converted to SvgIcon components.
Read more >@mui/icons-material - npm
These components use the Material UI's SvgIcon component to render the SVG path for each icon. If you are not already using Material...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@eps1lon We have had reports about install timeout for this very package in the past: #12432.
An update on this issue. If we work on it, we would probably need to take 3 constraints into account: