<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mohit Pujari</title>
    <description>The latest articles on DEV Community by Mohit Pujari (@braveprogrammer).</description>
    <link>https://dev.to/braveprogrammer</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F826854%2F6f13d88f-03b6-40de-9ac3-905f55677fa2.png</url>
      <title>DEV Community: Mohit Pujari</title>
      <link>https://dev.to/braveprogrammer</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/braveprogrammer"/>
    <language>en</language>
    <item>
      <title>Material Ui in React Js</title>
      <dc:creator>Mohit Pujari</dc:creator>
      <pubDate>Tue, 08 Mar 2022 04:54:49 +0000</pubDate>
      <link>https://dev.to/braveprogrammer/material-ui-in-react-js-4560</link>
      <guid>https://dev.to/braveprogrammer/material-ui-in-react-js-4560</guid>
      <description>&lt;h2&gt;
  
  
  &lt;code&gt;1. What is Material UI?&lt;/code&gt;
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Ans: Material UI is UI library for React JS.
&lt;/h2&gt;




&lt;h2&gt;
  
  
  &lt;code&gt;2. Why and when should you use Material UI?&lt;/code&gt;
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Ans: Material UI has almost everything you need in a web site UI such as NavBar,Cards etc. Also you can customize the UI components easily. Now Let's see when should we use Material UI. Material Ui can be used in React JS. And Material UI not only has UI Components but also Material UI has a Icons library.
&lt;/h3&gt;




&lt;h2&gt;
  
  
  &lt;code&gt;Now let's understand how to use material Ui Components&lt;/code&gt;
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Typography
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;Typography&lt;/code&gt; is a Material UI Component for text. You can add varient prop in Typography and specify it to a heading or paragraph tag.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Typography&lt;/span&gt; &lt;span class="na"&gt;variant&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"h1"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt; Hello World &lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nc"&gt;Typography&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Appbar
&lt;/h3&gt;

&lt;p&gt;Appbar is a Material UI custom Component for creating nice mui Navbar&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Appbar&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Typography&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;MyAppbar&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nc"&gt;Typography&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nc"&gt;Appbar&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>javascript</category>
      <category>react</category>
    </item>
  </channel>
</rss>
