how to add material UI to react code example Example 1: yarn add @materialui $ yarn add @material-ui/core Example 2: install material ui material ui