Skip to content

Commit

Permalink
[docs] Explain the icons package dependencies (mui#33592)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak authored and Daniel Rabe committed Nov 29, 2022
1 parent efbf1af commit 7163d76
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -14,6 +14,13 @@ The following npm package,
[@mui/icons-material](https://www.npmjs.com/package/@mui/icons-material),
includes the 2,000+ official [Material Icons](https://fonts.google.com/icons?icon.set=Material+Icons) converted to [`SvgIcon`](/material-ui/api/svg-icon/) components.

:::info
The `@mui/icons-material` package depends on `@mui/material`, which requires Emotion packages.

If you don't use Material UI in your project yet, install the icons package with `npm install @mui/icons-material @mui/material @emotion/styled @emotion/react`.
See the [Installation](/material-ui/getting-started/installation/) page for additional docs about how to make sure everything is set up correctly.
:::

{{"component": "modules/components/ComponentLinkHeader.js"}}

{{"demo": "SearchIcons.js", "hideToolbar": true, "bg": true}}
Expand Down

0 comments on commit 7163d76

Please sign in to comment.