Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report

@mui/icons-material 5.15.6

Material Design icons distributed as SVG React components.
Package summary
Share
0
issues
0
licenses
Package created
2 Sep 2021
Version published
22 Jan 2024
Maintainers
9
Total deps
0
Direct deps
0
License
MIT
Generating a report...
Hold on while we generate a fresh audit report for this package.

Frequently Asked Questions

What does @mui/icons-material do?

@mui/icons-material is a package that provides Google Material Icons as SVG React components. These icons are converted to SvgIcon components to render SVG paths for each icon, allowing you to incorporate these easily recognizable and aesthetically pleasing icons into your React projects.

How do you use @mui/icons-material?

You can install @mui/icons-material into your project directory using npm. Here's an example of how you can use it:

Step 1: Install the package using npm:

npm install @mui/icons-material

If you're not yet using Material UI in your project, you'll need to install it:

npm install @mui/material

Step 2: Import your desired icons into your React component:

import React from 'react';
import DeleteIcon from '@mui/icons-material/Delete';

function ExampleComponent() {
  return (
    <div>
      <DeleteIcon />
    </div>
  );
}

export default ExampleComponent;

In the above code, we imported a delete icon from @mui/icons-material and used it in our ExampleComponent.

Where are the @mui/icons-material docs?

The documentation for @mui/icons-material, including details on SvgIcon and a search feature for the Material Design icons, can be found on the MUI's official website. Click here for the SvgIcon documentation and here for the Material Design icons search.