Mokera

Tech Sheets

mokelab

MUI Button component

Last updated:2024-08-14

MUI Button component is a basic element for triggering actions within your applications.It is customizable so you can create buttons that suit contexts.

Official Document: Button

How to use

To use the Button component, import it from @mui/material.

import Button from "@mui/material/Button"; 

export function ButtonComponent() {
  return (
    <Button variant="contained" color="primary"> 
      MUI Button
    </Button>
  );
}

Back