scalajs-react facade for @material-ui/core, @material-ui/icons, @material-ui/lab
This is a fork of kinoplan's excellent scalajs-react-material-ui library with the aim of upgrading to MUI v5
All the hard work was done by kinoplan, we just needed to upgrade to MUI v5 and couldn't wait for the original library to be updated.
The scalajs-react-material-ui libraries is currently available for Scala.js 1.8.0+ and Scala 2.13.x.
-
Add
libraryDependencies
to your scalajs-react project:libraryDependencies ++= Seq( "com.freshcodelimited" %%% "scalajs-react-material-ui-core" % ${version}, "com.freshcodelimited" %%% "scalajs-react-material-ui-icons" % ${version}, "com.freshcodelimited" %%% "scalajs-react-material-ui-lab" % ${version} )
-
Add
npmDependencies
using scalajs-bundler:npmDependencies in Compile ++= Seq( "@material-ui/core" -> "5.11.8", "@material-ui/icons" -> "5.11.0", "@material-ui/lab" -> "5.0.0-alpha.119" )
See the demo project.
The project has almost all the examples in the js Component Demos written in Scala!
In the demo you can also find very detailed examples of using a bunch of:
Start:1
sbt dev
- Open in browser
localhost:8080
See CONTRIBUTING.md for more details about how to contribute.
This project is licensed under the terms of the Apache License, Version 2.0.
Footnotes
-
(See CONTRIBUTING.md for installing the necessary tools to run) ↩