import search icon in react js with react-icons/fa code example Example: import icon in react import { AccessAlarm, ThreeDRotation } from '@material-ui/icons';