less than 1 minute read

Tags: ,

工作上用 Ant Design

Side Project 當然要玩一些不一樣的摟~~

所以選擇 Material UI

Material UI

  • install

    • Default installation

    npm install @mui/material @emotion/react @emotion/style

    • Roboto font

    npm install @fontsource/roboto

    • Icons

    npm install @mui/icons-material

來看有沒有 安裝成功!

import Button from "@mui/material/Button";
import Container from "@mui/material/Container";
import Box from "@mui/material/Box";
import Grid from "@mui/material/Unstable_Grid2";
import Face6Icon from "@mui/icons-material/Face6";

function Day03() {
  return (
    <div style=>
      <Container maxWidth="xxl">
        <Box sx=>
          <Grid
            container
            spacing=
            style=
          >
            <Grid xs={12}>
              {" "}
              <Face6Icon style= />
              跟我一起學!!!
            </Grid>
            <Grid xs={4}>5</Grid>
            <Grid xs={4}>0</Grid>
            <Grid xs={4}></Grid>
          </Grid>
        </Box>
      </Container>
      <Button variant="contained"> 學起來</Button>
    </div>
  );
}

export default Day03;

我要學 50 音

Reference