Skip to content

AlexShan2008/nextjs-demo

Repository files navigation

Next.js Demo with MUI v5

This is a Next.js project bootstrapped with create-next-app, featuring MUI v5 (Material-UI) for modern and responsive UI components.

Features

  • Next.js 13+ with TypeScript
  • MUI v5 integration with styled-components approach
  • Internationalization (i18n) support
  • Responsive Material Design
  • Modern styling with Emotion
  • Server-Side Rendering (SSR) support

Getting Started

First, install the dependencies:

npm install
# or
yarn install

Then, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Styling Approach

This project uses MUI v5's modern styling solution with the following features:

  • styled API from @mui/material/styles for component customization
  • Emotion as the default styling engine
  • Theme customization through MUI's theming system
  • Responsive design utilities

Example of styled component:

import { styled } from '@mui/material/styles';

const StyledComponent = styled('div')(({ theme }) => ({
  padding: theme.spacing(2),
  backgroundColor: theme.palette.background.default,
}));

Learn More

To learn more about the technologies used in this project:

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

Next.js Demo with MUI v5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors