Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Explain the icons package dependencies #33592

Merged
merged 3 commits into from Aug 12, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -14,6 +14,14 @@ 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
**Note:**
samuelsycamore marked this conversation as resolved.
Show resolved Hide resolved
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`.
Otherwise, just run `npm install @mui/icons-material`.
:::

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

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