Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@hixme-ui/title

hixme-ui title component. Like <Text />, but bigger.

react, components, ui-library, javascript

readme

Title

npm i --save @hixme-ui/title

View it live

Title extends the @hixme/text component properties. Defaults to font size of 34px. Margin and padding default to 0px.

Usage

import Title from '@hixme-ui/title'


<Title>Big loud text!</Title>

<Title jumbo>Jumbo title for attention</Title>

// use <Text> props as usual
<Title primary>Primary color title</Title>

Props

Name Type Value
jumbo bool 38px
small bool 28px
smaller bool 20px
smallest bool 18px
margin string 0px
padding string 0px