@hixme-ui/title
v2.2.0
Published
hixme-ui title component. Like <Text />, but bigger.
Downloads
130
Readme
Title
npm i --save @hixme-ui/title
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 |