
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
material-ui-icons-next
Advanced tools
Material Design Svg Icons converted to Material-UI React components. Using material-ui-next peer dependency
This package provides the Google Material icons packaged as a set of React components.
Install the package in your project directory with:
npm install --save material-ui-icons
These components use the Material-UI SvgIcon component to
render the SVG path for each icon, and so a have a peer-dependency on the next
release of Material-UI.
If you are not already using Material-UI in your project, you can add it with:
npm install --save material-ui@next
The import path for each Material icon component includes the icon name in PascalCase.
For example to use the 'access alarm' icon component, import material-ui-icons/AccessAlarm
.
Note: One exception is '3d rotation', which is named ThreeDRotation
.
import AccessAlarmIcon from 'material-ui-icons/AccessAlarm';
import ThreeDRotation from 'material-ui-icons/ThreeDRotation';
import { AccessAlarm, ThreeDRotation } from 'material-ui-icons';
Note: Importing named exports in this way will result in the code for every icon being included in your project, so is not recommended unless you configure tree-shaking.
If you are upgrading an existing project from Material-UI 0.x.x, you will need to revise the import paths
from material-ui/svg-icons/<category>/<icon-name>
to material-ui-icons/<IconName>
.
FAQs
Material Design Svg Icons converted to Material-UI React components. Using material-ui-next peer dependency
The npm package material-ui-icons-next receives a total of 2 weekly downloads. As such, material-ui-icons-next popularity was classified as not popular.
We found that material-ui-icons-next demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.