Skip to content

dzek69/react-miui

Repository files navigation

WIP.

Old MIUI inspired design components for React. Breaking changes may happen until 1.0.0.

Usage:

  • Import global.scss
  • Import cssReset named export and include it in <style> tag
  • Import getCssText named export, call it and include result in <style> tag
  • Import any needed component from named exports

Your bundler needs to handle scss files, including scss modules.

For next.js projects use something like this with your next.config.js:

const createTranspileModules = require("next-transpile-modules");
const withTM = createTranspileModules(["react-miui"]);
module.exports = withTM({});

About

WIP. MIUI 8 inspired design components for React.

Resources

License

Stars

Watchers

Forks