@hixme-ui/title

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

Usage no npm install needed!

<script type="module">
  import hixmeUiTitle from 'https://cdn.skypack.dev/@hixme-ui/title';
</script>

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