## Installation


stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
Minified + gzip package size for @comparaonline/ui-typography in KB




yarn add @comparaonline/ui-typography


import Typography from '@comparaonline/ui-typography';

return <Typography variant={variant} tag={htmlTag} color={color} />;

The possible values of variant are defined by @comparaonoline/ui-theme and are:

prop name required type default description
variant true enum 'display4', 'display3', 'display2', 'display1', 'body1', 'body2', 'caption', 'headline', 'subheading', 'title' 'body1' The variant to be applied
tag true string 'span' The HTML tag to be used to render the component
color false enum 'primary', 'secondary', 'hint', 'disabled' A color to overwrite the value defined in the theme

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.