Skip to content

Commit 6d746ca

Browse files
[docs] Update @mui/icons-material install command to use 6.x version (#45810)
Signed-off-by: Nick Kowalchuk <[email protected]> Co-authored-by: ZeeshanTamboli <[email protected]>
1 parent 6b3957d commit 6d746ca

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/data/material/getting-started/installation/installation.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,18 +122,20 @@ To install Roboto through the Google Web Fonts CDN, add the following code insid
122122
To use the [font Icon component](/material-ui/icons/#icon-font-icons) or the prebuilt SVG Material Icons (such as those found in the [icon demos](/material-ui/icons/)), you must first install the [Material Icons](https://fonts.google.com/icons?icon.set=Material+Icons) font.
123123
You can do so with npm, or with the Google Web Fonts CDN.
124124

125+
<!-- #npm-tag-reference -->
126+
125127
<codeblock storageKey="package-manager">
126128

127129
```bash npm
128-
npm install @mui/icons-material
130+
npm install @mui/icons-material@^6.0.0
129131
```
130132

131133
```bash pnpm
132-
pnpm add @mui/icons-material
134+
pnpm add @mui/icons-material@^6.0.0
133135
```
134136

135137
```bash yarn
136-
yarn add @mui/icons-material
138+
yarn add @mui/icons-material@^6.0.0
137139
```
138140

139141
</codeblock>

0 commit comments

Comments
 (0)