Material UI uses Emotion as its default styling engine.
Run the following commands to add Material UI to your project:
npm install @mui/material @emotion/react @emotion/styled
There are two primary methods of using Emotion. The first is framework agnostic and the second is for use with React.
styled is a way to create React components that have styles attached to them. It’s available from @emotion/styled. styled was heavily inspired by styled-components and glamorous.
Use the share button below if you liked it.
It makes me smile, when I see it.