@materialr/typography

Material typography implementation for React

Stats

StarsIssuesVersionUpdatedCreatedSize
@materialr/typography
001.1.23 years ago4 years agoMinified + gzip package size for @materialr/typography in KB

Readme

MaterialR Typography

@materialr/typography

Build Status Coverage Status NSP Status semantic-release

Material typography implementation for React

Installation

$ npm install --save @materialr/typography

Demo

A full demo is available on the MaterialR website showcasing all variants.

Components

Named exports

import {
  Body1,
  Body2,
  Button,
  Caption,
  Headline1,
  Headline2,
  Headline3,
  Headline4,
  Headline5,
  Headline6,
  Overline,
  Subtitle1,
  Subtitle2,
} from '@material/typography';

Props

All named components have the same props:

Prop Type Required Default Description
children node/string Yes undefined The children to render within
className string No undefined Additional classNames to add

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.