Answers for "material ui icon sizes"

1

how to change size material ui icons

import React from "react";
import MailIcon from "@material-ui/icons/Mail";

export default function App() {
  return (
    <div>
      <MailIcon fontSize="small" />
      <MailIcon />
      <MailIcon fontSize="large" />
      <MailIcon style={{ fontSize: 50 }} />
    </div>
  );
}
Posted by: Guest on August-17-2021
16

@material-ui/icons

yarn add @material-ui/icons

# NPM
npm install @material-ui/icons
Posted by: Guest on July-23-2020
3

react mui icons

npm install @material-ui/core
npm install @material-ui/icons

import RoomIcon from '@material-ui/icons/Room';

<RoomIcon />
Posted by: Guest on October-28-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language