Repository is archived
No commit activity in last 3 years
No release in over 3 years
Provides a set of helpers simplifying the use of the Material Components Web library.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.7
~> 0.52

Runtime

~> 2.0
>= 5.0
 Project Readme

Material Components Web for Rails

Gem Version

Material Components Web for Rails provides a set of helpers simplifying the use of the Material Components Web library within your Rails app.


Table of Contents

  • Installation
  • Philosophy
  • Components
  • To Do
  • Contributing
    • Contributors
    • Semantic versioning
  • License

Installation

Material Components Web for Rails works with Rails 5 onwards. You can add it to your Gemfile with:

gem 'material-components-web'

And then execute:

$ bundle

Or install it yourself as:

$ gem install material-components-web

If you always want to be up to date fetch the latest from GitHub in your Gemfile:

gem 'material-components-web', github: 'jonhue/material-components-web'

Then add Material Components Web to your asset pipeline:

//= require material-components-web
/*
 *= require material-components-web
 */

Note: If you are using a package manager like Yarn, make sure to fetch the latest versions instead.


Philosophy

...


Components

These are the material components currently supported by Material Components Web for Rails:

You feel a component is missing? Create an issue to make us aware, or implement it yourself. Pull requests are welcome.


To Do

Here is the full list of current projects.

To propose your ideas, initiate the discussion by adding a new issue.


Contributing

We hope that you will consider contributing to Material Components Web for Rails. Please read this short overview for some information about how to get started:

Learn more about contributing to this repository, Code of Conduct

Contributors

Give the people some ❤️ who are working on this project. See them all at:

https://github.com/jonhue/material-components-web/graphs/contributors

Semantic Versioning

Material Components Web for Rails follows Semantic Versioning 2.0 as defined at http://semver.org.

License

MIT License

Copyright (c) 2018 Jonas Hübotter

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.