Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
materialdesign-webfont-material-ui
Advanced tools
FontIcon components for Material Design Icons font icons.
Sorry for the long repo name, but it pretty much nails it. This tiny module
provides Material-UI <FontIcon />
elements for all
Material Design Icons. This is pretty handy if you use React and Material-UI
to build a web app and run out of icons.
While this module contains wrappers for all icons, alias names are not included at the moment. For example, the plus icon is aliased as add, but only the plus icon is exported.
npm install materialdesign-webfont-material-ui --save
To use the icons, you need to include the webfont in your HTML files.
<link href="//cdn.materialdesignicons.com/1.9.32/css/materialdesignicons.min.css" media="all" rel="stylesheet" type="text/css" />
Then you can import and use the icons. Every icon is exported with its
original name in PascalCase, plus Icon. So coffee
becomes CoffeeIcon
,
cloud-print-outline
is exported CloudPrintOutlineIcon
and so on.
import { CoffeeIcon } from 'materialdesign-webfont-material-ui'
// ...
render() {
return (
<div>
Enjoy your coffee! <CoffeeIcon />
</div>
)
}
The scripts included in this repository are licensed under the WTFPL. For the license of the icons, see Material Design Icons.
FAQs
FontIcon components for Material Design Icons font icons.
The npm package materialdesign-webfont-material-ui receives a total of 1 weekly downloads. As such, materialdesign-webfont-material-ui popularity was classified as not popular.
We found that materialdesign-webfont-material-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.