npm.io
2.0.0 • Published 3 months ago

mui-lite

Licence
ISC
Version
2.0.0
Deps
3
Size
106 kB
Vulns
0
Weekly
0
Stars
1

Material UI Kit Lite Open Source Project

A lite yet functional version of material ui

Getting started

Run yarn add mui-lite to install this library
Then somewhere in your code

import * as UI from 'mui-lite'
...
return <UI.Theme>
    <UI.Button>Click me</UI.Button>
</UITheme>

It's important to wrap your component inside UI.Theme, otherwise, the styles won't apply properly.

Note

You might need to include this code somewhere if you're using typescript
declare module mui-lite

This is not the official build of Material UI team

How to contribute
  • Fork this project, run yarn to install necessary dependencies.
  • Run yarn dev to start, then go to http://localhost:3000 to see the demo
  • Happy coding
Migrating from 1.x to 2.0
  • Requires React 18 and react-dom 18 as peer dependencies.
  • Requires styled-components ^5.3 as a peer dependency.
  • No public API changes. All component props (bind, default-style, bright-color-level, etc.) are unchanged.
  • Node 16+ required.
Contact

Email: mrsilver256@gmail.com