{"id":22793064,"url":"https://github.com/kripod/material-components-react","last_synced_at":"2025-07-23T16:32:51.318Z","repository":{"id":57138724,"uuid":"78576869","full_name":"kripod/material-components-react","owner":"kripod","description":"Modular and customizable Material Design UI components for React.","archived":false,"fork":false,"pushed_at":"2017-01-26T15:51:27.000Z","size":160,"stargazers_count":32,"open_issues_count":11,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-18T18:50:00.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/kripod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-10T21:44:16.000Z","updated_at":"2021-06-13T08:25:51.000Z","dependencies_parsed_at":"2022-09-03T10:40:41.713Z","dependency_job_id":null,"html_url":"https://github.com/kripod/material-components-react","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/kripod/material-components-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kripod%2Fmaterial-components-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kripod%2Fmaterial-components-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kripod%2Fmaterial-components-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kripod%2Fmaterial-components-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kripod","download_url":"https://codeload.github.com/kripod/material-components-react/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kripod%2Fmaterial-components-react/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265975879,"owners_count":23858555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-12-12T03:17:51.716Z","updated_at":"2025-07-23T16:32:51.264Z","avatar_url":"https://github.com/kripod.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Material Components for React\n\nMaterial Components for React (MDC-React) help developers execute [Material Design][] by providing bindings for [material-components-web][].\n\n[Material Design]: https://material.io\n[material-components-web]: https://github.com/material-components/material-components-web\n\n[![NPM](https://img.shields.io/npm/v/@react-material/all.svg)](https://www.npmjs.com/package/@react-material/all)\n[![Travis CI](https://img.shields.io/travis/kripod/material-components-react/master.svg)](https://travis-ci.org/kripod/material-components-react)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n\n## Quick start\n\nInstall the library:\n\n```sh\nnpm i -S @react-material/all\n```\n\nThen simply import any of the available components along with the corresponding MDC-Web stylesheet(s):\n\n```jsx\nimport { Button, Fab } from '@react-material/all';\nimport React from 'react';\nimport { render } from 'react-dom';\nimport 'material-components-web/dist/material-components-web.css';\n\nrender(\n  \u003cmain\u003e\n    \u003cButton\u003eHello, World!\u003c/Button\u003e\n    \u003cFab aria-label=\"Favorite\"\u003efavorite_border\u003c/Fab\u003e\n  \u003c/main\u003e,\n  document.getElementById('root'),\n);\n```\n\n```html\n\u003c!doctype html\u003e\n\u003chtml lang=\"en\"\u003e\n  \u003chead\u003e\n    \u003cmeta charset=\"utf-8\"\u003e\n    \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n    \u003clink href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\"\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cdiv id=\"root\"\u003e\u003c/div\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\nUse [Create React App][] to bootstrap applications based on MDC-React with no build configuration.\n\n[Create React App]: https://github.com/facebookincubator/create-react-app\n\n## Installing individual components\n\nMDC-React is modular by design. Each component lives within its own package under the [@react-material npm scope][].\n\n```sh\nnpm i -S @react-material/button @react-material/checkbox @react-material/fab\n```\n\nAll our components can be found in the [packages][] directory.\n\n[@react-material npm scope]: https://npmjs.com/~react-material\n[packages]: ./packages\n\n## Including components\n\n### JavaScript\n\nIf you are using a module loader such as Webpack or SystemJS to load your JS modules, you can simply `import` every component you need from `@react-material/all` and use it as such:\n\n```js\nimport { Checkbox } from '@react-material/all';\n```\n\nYou can do the same with individual components:\n\n```js\nimport Checkbox from '@react-material/checkbox';\n```\n\n### CSS\n\nAll MDC-Web components which include styles provide them at `dist/mdc.COMPONENT.css`, as well as a complementary minified version at `dist/mdc.COMPONENT.min.css`. Note that _CSS files for a component's dependencies are not included within the component's CSS file_, so if you are using individual components you'll have to include each separately.\n\n## Running the demo\n\n```sh\nnpm i\nnpm run build\nnpm start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkripod%2Fmaterial-components-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkripod%2Fmaterial-components-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkripod%2Fmaterial-components-react/lists"}