material ui link button code example

Example 1: button material ui

<Button variant="contained">Default</Button>
<Button variant="contained" color="primary">
  Primary
</Button>
<Button variant="contained" color="secondary">
  Secondary
</Button>
<Button variant="contained" disabled>
  Disabled
</Button>
<Button variant="contained" color="primary" href="#contained-buttons">
  Link
</Button>

Example 2: react router link to material ui component

<MaterialUiComponent 
	component={Link}
    to="/url"> 
	Click here 
</MaterialUiComponent>

Example 3: import link material ui

import Link from '@material-ui/core/Link';
// or
import { Link } from '@material-ui/core';

Tags:

Html Example