JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q38251F
  • License MIT

Google Material Components for React

Package Exports

  • jss-react-material

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jss-react-material) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React Material Design

Install

npm install jss-react-material

Dependencies

react >= 15.3.0

How To Use

create theme.scss file with your favorite colors
@import '~jss-react-material/src/style/common/colors';
$backgroundColor: #fff;
$backgroundColorPrimary: $brown600;
$backgroundColorSecondary: $green500;
$backgroundColorFloating: $brown900;
$textColor: $darkBlack;
$textColorPimary: $fullWhite;
$textColorSecondary: $green500;
$colorInputActive: $brown600;
$colorTabSelected: $fullWhite;
$windowBackground: $grey50;
$backgroundOpacity: rgba(0, 0, 0, 0.08);
$borderColor: rgba(0, 0, 0, 0.16);
import theme.scss and base scss file from react-material in the main scss file
@import './theme';
@import '~jss-react-material/index';

body {
    margin:0;
    background: $windowBackground;
    font-family: 'Roboto', sans-serif;
}

Components

  • AppBar
  • AutoComplete
  • Avatar
  • BottomSheet
  • DialogAlert
  • DialogFullScreen
  • FontIcon
  • IconButton
  • FlatButton
  • FloatingActionButton
  • MenuItem
  • MenuDropDown
  • RaisedButton
  • Card,
  • CardHeader
  • Chip
  • Header
  • List
  • ListItem
  • Tab
  • Tabs
  • InputControl
  • InputText
  • SelectionControl
  • Paper
  • PickerDate
  • RichMedia,
  • SearchFilter
  • Snackbar
  • Stepper
  • StepperStep
  • ProgressLinear

Contributions

Yes please! See the [contributing guidelines][contributing] for details.

Changelog

  • V0.1.6 Reduce React Warnings
  • V0.1.5 Add Menu DropDown and StepperStep
  • V0.1.0 Add basic Material Design Components