Tech Sheets

MUI Button component

最終更新日: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>
  );
}

一覧に戻る