Introduction
Material UI or MUI is a library of UI components that implements Google's Material Design.
Breadcrumbs consist of a list of links that help a user visualize a page's location within the hierarchical structure of a website, and allow navigation up to any of its "ancestors".
Preconditions
- Javascript
- Basic knowledge of NextJS
- Node.js
- V.S. Code,Visual Studio
We cover the below things,
- Create Next application
- Installation of Material UI Components
- How to Apply Material UI components from the official website in NextJS
Step 1
Run the below command to create NextJS application,
Step 2
Run the below command for installing Material UI,
Create the files according to the below image,
![]()
Step 3
Add the below code in the BasicBreadcrumbs.js,
Step 4
Add the below code in the index.js,
Step 5
Add the following code in Home.module.css,
Step 6
Add the following code in package.json,
Step 7
Run the following commands
![How to setup NextJs with Material UI/MUI component Basic Breadcrumbs]()
Summary
In this article, we learned how to create NextJS project, set Material UI/MUI, and create NextJS Basic Breadcrumbs MUI component.