@materialr/typography

1.1.2 • Public • Published

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

Package Sidebar

Install

npm i @materialr/typography

Weekly Downloads

1

Version

1.1.2

License

MIT

Unpacked Size

31.6 kB

Total Files

17

Last publish

Collaborators

  • hvolschenk