CssMaterial is a project with the aim of producing a working implementation of Material Design by Google all while using as little Javascript as possible in a library format so only the styles you use get applied.
This is a WIP project so all features outlined in the spec may not be available.
To start using CssMaterial today, you import the html page in the root of this project.
<link rel="import" href="https://rawgit.com/Nektro/CssMaterial/master/cssmaterial.css">
<script src="https://rawgit.com/Nektro/CssMaterial/master/cssmaterial.js"></script>
For examples on how to use the different components, see the example page.
Any help would be graciously appreciated. Layout errors in the CSS or pull requests for new components are always welcome! See this list below for the current roadmap.
- Both HTTP/2 optimized and minified version of output source.
- Material Icons with the
.material-icons
class courtesy of https://design.google.com/icons/ - [Extra] Css normalization via https://github.com/necolas/normalize.css (MIT)
- Bottom Sheets
- Buttons
- [Extra] Button waves effect via https://github.com/fians/Waves (MIT)
- Floating Action Buttons WIP
- Cards
- Chips
- Data Tables WIP
- Dialogs
- Dividers
- Grid Lists
- Lists
- Lists w/ Controls
- Menus (dropdown)
- Pickers
- Progress bar
- Selection controls: Checkbox
- Selection controls: Radio button
- Selection controls: Switch
- [Extra] Side navbar (full height)
- Sliders
- Snackbars
- Toast
- Subheadings
- Steppers
- Tabs
- Text fields
- Toolbars
- Tooltips (Via https://github.com/kazzkiq/balloon.css (MIT))
Material Design is a layout and design philosophy made by Google originally for the Android project. Since then millions of apps and websites have adapted that philosophy. This is an attempt to recreate some of those components and features with as little Javascript as possible. See the whole spec here.
CssMaterial is licensed under the MIT license. See LICENSE.
Feel free to follow me on Twitter @Nektro, email me [email protected], or visit my website that uses this very library https://dev.nektro.net