'How to import more-vert icon in material-ui for react?

I tried a lot but i am not able to find a way to do it. Where is its exact location in material-ui? I saw some people using it. Any help is appreciated.

My best guess was :

import MoreVertIcon from '@material-ui/icons/more-vert';


Solution 1:[1]

Mui v5 import:

import MoreVertIcon from '@mui/icons-material/MoreVert';

https://mui.com/components/material-icons/?query=MoreVert&selected=MoreVert

Solution 2:[2]

Before use material ui icon You may need to import for that. Steps:-

  1. Open CMD
  2. Copy this command:- " npm install -S @material-ui/icons "
  3. Import icon that you want " import MoreVertIcon from '@material-ui/icons/more-vert'; "

Thanks

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 vsync
Solution 2 hemant rao