mui-layout-framework
A framework for creating consistent and appealing pages with Material-UI.
Install
npm install --save mui-layout-framework
Usage
Here is a basic example using the Page
component:
From this, you can notice a few things:
- The title of the page is automatically handled. React Helmet is set up for you to save the hassle.
- You can use any Material-UI components within the
content
prop.
Also, behind the scenes, a few things are done for quality-of-life:
- Page-structuring tags have been used to aid screen readers - no need to remember the
<main>
tag anymore! - If you add other supported props, the componenets will work nicely together.
License
MIT © RDIL