{"id":13429938,"url":"https://github.com/tleunen/react-mdl","last_synced_at":"2026-03-20T01:20:58.022Z","repository":{"id":35136860,"uuid":"39348576","full_name":"tleunen/react-mdl","owner":"tleunen","description":"React Components for Material Design Lite","archived":true,"fork":false,"pushed_at":"2021-03-01T20:55:25.000Z","size":8231,"stargazers_count":1762,"open_issues_count":81,"forks_count":254,"subscribers_count":55,"default_branch":"master","last_synced_at":"2025-02-26T05:20:09.744Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://tleunen.github.io/react-mdl/","language":"CSS","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/tleunen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-19T20:52:59.000Z","updated_at":"2024-10-30T11:01:32.000Z","dependencies_parsed_at":"2022-08-17T22:35:30.367Z","dependency_job_id":null,"html_url":"https://github.com/tleunen/react-mdl","commit_stats":null,"previous_names":[],"tags_count":51,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tleunen%2Freact-mdl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tleunen%2Freact-mdl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tleunen%2Freact-mdl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tleunen%2Freact-mdl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tleunen","download_url":"https://codeload.github.com/tleunen/react-mdl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826788,"owners_count":20354220,"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-07-31T02:00:48.143Z","updated_at":"2026-03-20T01:20:57.996Z","avatar_url":"https://github.com/tleunen.png","language":"CSS","funding_links":[],"categories":["CSS","Uncategorized","UI Frameworks","Cases"],"sub_categories":["Uncategorized","Responsive"],"readme":"# [React-MDL][react-mdl-url]\n[![Maintenance Status][status-image]][status-url] [![NPM version][npm-image]][npm-url] [![Build Status Linux][circleci-image]][circleci-url] [![Coverage Status][coverage-image]][coverage-url]\n\n### Deprecation notice\n\nThis library is now deprecated. It's higly recommended to use [Material Design Components](https://github.com/material-components/material-components-web) instead.\n\n## Description\n\nReact-MDL is a set of React components build on top of [Material Design Lite][google-mdl-url]\u003csup\u003ev1.2.1\u003c/sup\u003e\n\n## Requirements\nInstead of using the official `material.css` and `material.js` files from the MDL project, you should use the files we provide in [/extra](/extra/). The reason to that is because the official `Layout` component is not fully compatible with React. We made a patch and we re-exported everything so people can still use it.\nIf you're worried about the changes we made, you can take a look at the [patch note](/extra/layout-patch.diff) or read about the issue in [this ticket](https://github.com/google/material-design-lite/issues/1356).\n\n```html\n\u003clink rel=\"stylesheet\" href=\"material.css\"\u003e\n\u003cscript src=\"material.js\"\u003e\u003c/script\u003e\n\u003clink rel=\"stylesheet\" href=\"https://fonts.googleapis.com/icon?family=Material+Icons\"\u003e\n```\n\n### Create React App\n\nThe above instructions won’t work if you use [Create React App](https://github.com/facebookincubator/create-react-app) with `react-scripts` higher than `0.4.0`.  \nIf you use it, add only this one line to your HTML:\n\n```html\n\u003clink rel=\"stylesheet\" href=\"https://fonts.googleapis.com/icon?family=Material+Icons\"\u003e\n```\n\nThen add these lines to `src/index.js`:\n\n```js\nimport 'react-mdl/extra/material.css';\nimport 'react-mdl/extra/material.js';\n```\n\n## Installation\n\n`npm install --save react-mdl`\n\n\n## Usage\n\nYou can use React-MDL through a bundler like [webpack][webpack-url] or [browserify][browserify-url] by importing `react-mdl` in your application:\n\n```js\nimport { Button, Card, CardText } from 'react-mdl';\n\n// or...\nimport Button from 'react-mdl/lib/Button';\nimport { Card, CardText, CardActions } from 'react-mdl/lib/Card';\n```\n\nAlternatively, you can include `node_modules/react-mdl/out/ReactMDL.js` as a script, but you'll likely want to copy it to a folder outside of `node_modules` first, such as `lib` or `vendor`. Then a global `ReactMDL` will be available:\n\n```js\nconst { Button, Card, CardText } = ReactMDL;\n```\n\nFor a listing of available components, as well as specific usage information, check out the [Components][react-mdl-components-url] page on the website.\n\nSome extra components can be found in the [react-mdl-extra](https://github.com/HriBB/react-mdl-extra) package.\n\n## License\n\nMIT, see [LICENSE.md](/LICENSE.md) for details.\n\n[react-mdl-url]: https://react-mdl.github.io/react-mdl/\n[google-mdl-url]: https://github.com/google/material-design-lite\n\n[status-image]: https://img.shields.io/maintenance/yes/2016.svg\n[status-url]: https://github.com/react-mdl/react-mdl\n\n[npm-image]: https://img.shields.io/npm/v/react-mdl.svg\n[npm-url]: https://www.npmjs.com/package/react-mdl\n\n[circleci-image]: https://img.shields.io/circleci/project/react-mdl/react-mdl/master.svg\n[circleci-url]: https://circleci.com/gh/react-mdl/react-mdl\n\n[coverage-image]: https://codecov.io/gh/react-mdl/react-mdl/branch/master/graph/badge.svg\n[coverage-url]: https://codecov.io/gh/react-mdl/react-mdl\n\n[react-mdl-components-url]: https://react-mdl.github.io/react-mdl/components/\n[webpack-url]: https://webpack.github.io/\n[browserify-url]: http://browserify.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftleunen%2Freact-mdl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftleunen%2Freact-mdl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftleunen%2Freact-mdl/lists"}