{"id":42303356,"url":"https://github.com/nicolabello/material-components-web","last_synced_at":"2026-01-27T10:41:58.070Z","repository":{"id":55463109,"uuid":"251898541","full_name":"nicolabello/material-components-web","owner":"nicolabello","description":"Modular and customizable Material Design UI components for the web","archived":false,"fork":false,"pushed_at":"2022-10-17T08:39:11.000Z","size":3105,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-01T13:24:27.379Z","etag":null,"topics":["material-components","material-components-web","material-design","material-design-components"],"latest_commit_sha":null,"homepage":null,"language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicolabello.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-31T23:02:31.000Z","updated_at":"2021-12-10T10:49:07.000Z","dependencies_parsed_at":"2023-01-20T03:02:09.607Z","dependency_job_id":null,"html_url":"https://github.com/nicolabello/material-components-web","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nicolabello/material-components-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolabello%2Fmaterial-components-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolabello%2Fmaterial-components-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolabello%2Fmaterial-components-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolabello%2Fmaterial-components-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicolabello","download_url":"https://codeload.github.com/nicolabello/material-components-web/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolabello%2Fmaterial-components-web/sbom","scorecard":{"id":685911,"data":{"date":"2025-08-11","repo":{"name":"github.com/nicolabello/material-components-web","commit":"7b03fff1278e1aea2fbcf0a83fce25b5e2edcf12"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/nicolabello/material-components-web/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/nicolabello/material-components-web/publish.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/publish.yml:24","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T00:48:26.023Z","repository_id":55463109,"created_at":"2025-08-22T00:48:26.023Z","updated_at":"2025-08-22T00:48:26.023Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28812351,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["material-components","material-components-web","material-design","material-design-components"],"created_at":"2026-01-27T10:41:57.986Z","updated_at":"2026-01-27T10:41:58.057Z","avatar_url":"https://github.com/nicolabello.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Material Components Web (MDC Web)\n\nThis package has been forked from the original Google project [material-components-web](https://github.com/material-components/material-components-web).\n\nAll the internal imports have been transformed to relative to make importing the library easier, without the need of adding `includePath` to the SASS compiler options.\n\n## Installation\n\n```bash\nnpm install @nicolabello/material-components-web\n```\n\nor\n\n```bash\nyarn add @nicolabello/material-components-web\n```\n\n## Usage\n\n### Including the Sass\n\nThe default icons and typography require to include [Material Design Icons](https://material.io/resources/icons) and [Roboto font](https://fonts.google.com/specimen/Roboto)\n\n```scss\n// Material design icons\n@import \"https://fonts.googleapis.com/icon?family=Material+Icons\";\n\n// Roboto font\n@import \"https://fonts.googleapis.com/css?family=Roboto:300,400,500\";\n```\n\nTo import the style for all the available components do as following\n\n```scss\n// All components\n@use \"~@nicolabello/material-components-web/styles\";\n```\n\nTo import only the style for specific components do as following\n\n```scss\n// Button\n@use \"~@nicolabello/material-components-web/button/mdc-button\";\n\n// Chips\n@use \"~@nicolabello/material-components-web/chips/mdc-chips\";\n```\n\nTo access variables, mixins and functions do as following\n\n```scss\n// All components variables, mixins and functions\n@use \"~@nicolabello/material-components-web/members\";\n\n// Button variables, mixins and functions\n@use \"~@nicolabello/material-components-web/button\";\n\n.my-class {\n  height: members.$button-height;\n  // Equivalent to\n  height: button.$height;\n}\n\n.my-other-clss{\n  @include members.button-ink-color(red);\n  // Equivalent to\n  @include button.ink-color(red);\n}\n```\n\nIf you are unfamiliar with the syntax, read about [Sass Modules](https://sass-lang.com/blog/the-module-system-is-launched).\n\nPlease note: the `~` at the start of the imports paths tells the Webpack loader to resolve the import from the `node_modules` path.\n\n### Including the JavaScript\n\n```js\nimport { MDCCheckbox } from '@nicolabello/material-components-web';\nconst checkbox = new MDCCheckbox(document.querySelector('.mdc-checkbox'));\n```\n\n## Documentation\n\n- [Original repo documentation](https://github.com/material-components/material-components-web#readme).\n- [Material design documentation](https://material.io/develop/web/getting-started).\n\nPlease note that the imports in the documentation must be replaced as following:\n\n- `@material/` -\u003e `~@nicolabello/material-components-web/` for Sass imports\n- `@material/` -\u003e `@nicolabello/material-components-web/` for JavaScript and TypeScript imports\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolabello%2Fmaterial-components-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicolabello%2Fmaterial-components-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolabello%2Fmaterial-components-web/lists"}