{"id":19466909,"url":"https://github.com/scommons/scommons-material-ui","last_synced_at":"2026-04-18T11:33:28.678Z","repository":{"id":46916909,"uuid":"401043905","full_name":"scommons/scommons-material-ui","owner":"scommons","description":"Scala.js facades for material-ui components","archived":false,"fork":false,"pushed_at":"2024-03-09T14:25:25.000Z","size":300,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T13:51:57.820Z","etag":null,"topics":["code-generation","doctrine","material-ui","react","react-docgen","reactjs","scalajs"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scommons.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-29T13:06:14.000Z","updated_at":"2024-03-09T13:00:52.000Z","dependencies_parsed_at":"2024-11-10T18:33:05.807Z","dependency_job_id":"aa2ab0fa-4ab2-47b3-956c-6682bf8e7909","html_url":"https://github.com/scommons/scommons-material-ui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scommons/scommons-material-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scommons%2Fscommons-material-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scommons%2Fscommons-material-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scommons%2Fscommons-material-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scommons%2Fscommons-material-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scommons","download_url":"https://codeload.github.com/scommons/scommons-material-ui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scommons%2Fscommons-material-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31967031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-generation","doctrine","material-ui","react","react-docgen","reactjs","scalajs"],"created_at":"2024-11-10T18:31:39.288Z","updated_at":"2026-04-18T11:33:28.642Z","avatar_url":"https://github.com/scommons.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![CI](https://github.com/scommons/scommons-material-ui/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/scommons/scommons-material-ui/actions/workflows/ci.yml?query=workflow%3Aci+branch%3Amaster)\n[![Coverage Status](https://coveralls.io/repos/github/scommons/scommons-material-ui/badge.svg?branch=master)](https://coveralls.io/github/scommons/scommons-material-ui/?branch=master)\n[![Scala.js](https://www.scala-js.org/assets/badges/scalajs-1.8.0.svg)](https://www.scala-js.org)\n\n## Scala Commons Material UI\n\nScala.js facades for [Material-UI (v4)](https://v4.mui.com/getting-started/usage/) components and APIs.\n\nIt uses common [scalajs-reactjs](https://github.com/shogowada/scalajs-reactjs) binding/facade library.\n\n### How to add it to your project\n\n```scala\nval scommonsMaterialUiVer = \"1.0.0-SNAPSHOT\"\n\nlibraryDependencies ++= Seq(\n  \"org.scommons.material-ui\" %%% \"scommons-material-ui-core\" % scommonsMaterialUiVer,\n  \n  // mocks of native Components and APIs\n  \"org.scommons.material-ui\" %%% \"scommons-material-ui-test\" % scommonsMaterialUiVer % \"test\"\n)\n```\n\nLatest `SNAPSHOT` version is published to [Sonatype Repo](https://oss.sonatype.org/content/repositories/snapshots/org/scommons/), just make sure you added\nthe proper dependency resolver to your `build.sbt` settings:\n```scala\nresolvers += \"Sonatype Snapshots\" at \"https://oss.sonatype.org/content/repositories/snapshots/\"\n```\n\n### Quick Start\n\n```scala\nimport io.github.shogowada.scalajs.reactjs.ReactDOM\nimport org.scalajs.dom\nimport scommons.materialui._\nimport scommons.materialui.styles._\nimport scommons.react._\n\nobject App extends FunctionComponent[Unit] {\n\n  protected def render(compProps: Props): ReactElement = {\n    \u003c.Button(^.variant := \"contained\", ^.color := \"primary\")(\n      \"Hello World\"\n    )\n  }\n}\n\nobject AppMain {\n\n  def main(args: Array[String]): Unit = {\n    val mountNode = dom.document.getElementById(\"root\")\n\n    dom.document.title = \"Demo material-ui app\"\n\n    ReactDOM.render(\u003c(App()).empty, mountNode)\n  }\n}\n```\n\n### Components Demos\n\nPlease, see [README.md in showcase](showcase/README.md) sub-folder\nfor how to build and run showcase app locally.\n\n* [Button](https://v4.mui.com/components/buttons/) =\u003e [demos](showcase/src/main/scala/scommons/materialui/showcase/button) =\u003e [tests](showcase/src/test/scala/scommons/materialui/showcase/button)\n* ...TBD\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscommons%2Fscommons-material-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscommons%2Fscommons-material-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscommons%2Fscommons-material-ui/lists"}