title: Disable Ripple effect on MUI Button and add custom
body: <p>I wanted to remove the ripple effect on the button and implement my custom effect in MUI Button. I have removed ripple using <em>disableRipple</em>. I have tried to apply shadow when the user clicks on an element, but somehow it's not working.</p>
  <pre><code>import * as React from &quot;react&quot;;
  import Button from &quot;@mui/material/Button&quot;;
  import { alpha } from &quot;@mui/material/styles&quot;;
  
  export default function DefaultProps() {
    return (
      &lt;Button
        variant=&quot;outlined&quot;
        // className='Mui-focusVisible'
        disableRipple
        sx={{
          &quot;&amp;:hover&quot;: {
            boxShadow: `0px 0px 0px 0px ${alpha(&quot;#000&quot;, 0.16)}`
          },
          &quot;&amp;.Mui-focusVisible&quot;: {
            boxShadow: `0px 0px 0px 50px ${alpha(&quot;#000&quot;, 0.16)}`
          },
          &quot;&amp;.Mui-active&quot;: {
            boxShadow: `0px 0px 0px 8px ${alpha(&quot;#000&quot;, 0.16)}`
          }
        }}
      &gt;
        Change default props
      &lt;/Button&gt;
    );
  }
  </code></pre>
  <p>I have used Mui-focusVisible to apply shadow on click as mentioned here is <a href="https://mui.com/api/button/#demos" rel="nofollow noreferrer">doc</a></p>
  <blockquote>
  <p>disableRipple bool    false<br />
  If true, the ripple effect is disabled.
  ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure to highlight the element by applying separate styles with the .Mui-focusVisible class.</p>
  </blockquote>
  <p>My main intention is to achieve a click effect same as Ant Design. Check the button here: <a href="https://ant.design/components/button/" rel="nofollow noreferrer">https://ant.design/components/button/</a></p>
  <p>Sandbox: <a href="https://codesandbox.io/s/defaultprops-material-demo-forked-rhggn?file=/demo.js" rel="nofollow noreferrer">https://codesandbox.io/s/defaultprops-material-demo-forked-rhggn?file=/demo.js</a></p>
  <p>Can anyone help me out?</p>