Giter Site home page Giter Site logo

react-materialize.github.io's Introduction

React Materialize

Join the chat at https://gitter.im/react-materialize/react-materialize npm version code style: prettier

Material design components for react, powered by materializecss.

Install

npm install materialize-css@next
npm install react-materialize

Use

HTML Setup (from materializecss)

<!DOCTYPE html>
<html>
  <head>
    <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
    <link rel="stylesheet" href="path/to/materialize.css">
  </head>
  <body>
    <script src="path/to/your/bundle.js"></script>
  </body>
</html>

Javascript

import 'materialize-css';
import { Button, Card, Row, Col } from 'react-materialize';
Note

materialize-css exposes css via style field in package.json, if you have another tool for CSS that identifies this field you can remove the import from index.html.

Docs && Examples

See documentation for live examples. Try out the boilerplate.

How does it compare to X.Y.Z?

The main goal of this project is to provide react component for materializecss, at the current stage, I am trying to implement all possible widgets that are supported by materializecss. Please create an issue on github if you find you desired component is not available.

There are other material design components for react.js, e.g. material-ui, which is more mature and popular than this one. The main advantage of this project over e.g. material-ui is that it provides a grid system similar to react-bootstrap. Another advantage over material-ui is that react-materialize does not include css in the js - which can be cumbersome to some project's architecture.

Contributions

Yes, please!

We have a help-wanted label in the issues page for convenience

Deployment workflow

We are now using github actions. For every push, test action will run.

To publish a new version update the package version, update the change log and create a PR. Once merged to master push tags git push --tags and create a new release.

Support

This library is only a react wrapper around the awesome materializecss, if you or your company uses this library please support them, all this work requires time :) โœŒ๏ธ

react-materialize.github.io's People

Contributors

alextrastero avatar isaiah avatar

Watchers

 avatar  avatar  avatar  avatar

react-materialize.github.io's Issues

No source code in the documentation

Hi, I've come across you framework and wanted to read through the doc in order to try it out.

The home page quote "Navigate through these docs to see available components. Click on "Show Info" to view each story source".

I've search every inch of the web site but couldn't find where "Show Info" was mentioned, in order to access the code. is there any alternative methods?

Modals

Can I get an example of how to utilize the modalOptions? I was hoping to use something like modalOptions={ready: function()} but I couldn't for the life of me get it figured out. Can you provide any clarity or insight?

Wrong Link In Navbar Proptypes Options

At Navbar, under Navbar PropTypes, list item options, the description is wrong. It looks like the description from SideNav is used by accident (they're identical).

From what I saw in docs, I don't see what would fill out an options field for Navbar. There doesn't appear to be any options. So shouldn't there be no listing for options in Navbar's PropTypes?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.