Material Design Lite for React JS lets you add a Material Design look and feel to your websites using the React framework.
You can find documentation and examples here
To install run
npm install mdl-reactjs
How to include in project
var MDL = require('mdl-reactjs');
var Button = MDL.Button;
var Card = MDL.Card;
Include the MDL css and js in your project
<!-- Material design lite stylesheet, icons and javascript -->
<link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.indigo-pink.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<script defer src="https://code.getmdl.io/1.2.1/material.min.js"></script>
npm install
npm run dev-server
// Open http://localhost:8080/
The project is still under development and will be adding features and functions
- Badge [Docs] [getmdl.io]
- Buttons [Docs] [getmdl.io]
- Loading [Docs] [getmdl.io]
- Progress
- Spinner
- Sliders [Docs] [getmdl.io]
- Icon [Docs]
- Textfields [Docs] [getmdl.io]
- Cards [Docs] [getmdl.io]
- Layout [Docs] [getmdl.io]
- Header + Rows
- Drawer
- Title
- Content
- Navigation + Links
- Grid
- Layout Tabs
- Tabs
- Footer
- Menus [Docs] [getmdl.io]