Created
October 14, 2025 13:30
-
-
Save musasoftlabx/3e5933a421b8ff932f4c2afe3cdccf69 to your computer and use it in GitHub Desktop.
Sample styled button
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Button | |
| variant="contained" | |
| loading={false} // if form is submitting, change state to true | |
| loadingPosition="start" | |
| sx={{ | |
| bgcolor: "primary.main", | |
| borderRadius: 6, | |
| borderStyle: "double", // use none incase you don't want the double border. | |
| borderWidth: 6, | |
| boxShadow: "rgba(52, 117, 210, 0.3) 0px 30px 90px", | |
| color: "#fff", | |
| fontWeight: "bold", | |
| px: 3, | |
| "&:hover": { | |
| borderStyle: "double", | |
| boxShadow: "rgba(2, 87, 210, 0.4) 0px 10px 30px", | |
| }, | |
| }} | |
| onClick={() => {}} | |
| > | |
| SAMPLE BUTTON | |
| </Button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment