UNPKG

@roo-ui/components

Version:

32 lines (23 loc) 839 B
# Heading <!-- STORY --> ## Installation ```shell $ yarn add @roo-ui/components ``` ## Example ```js import { Heading } from '@roo-ui/components'; export default ( <Fragment> <Heading>Generic heading</Heading> <Heading.h1>Heading 1</Heading.h1> <Heading.h2>Heading 2</Heading.h2> <Heading.h3>Heading 3</Heading.h3> <Heading.h4>Heading 4</Heading.h4> <Heading.h5>Heading 5</Heading.h5> <Heading.h6>Heading 6</Heading.h6> </Fragment> ); ``` ## Customization This component can be customized with [styled-system](https://jxnblk.com/styled-system) by passing props for [color](http://jxnblk.com/styled-system/table#core), [font size](http://jxnblk.com/styled-system/table#core), [space](https://jxnblk.com/styled-system#space-theming), or [typography](http://jxnblk.com/styled-system/table#typography).