Type

The type utility component is used for displaying formatted text like you would see in a blog post or document.

type > heading

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
<div class="type">
  <h1>Heading 1</h1>
  <h2>Heading 2</h2>
  <h3>Heading 3</h3>
  <h4>Heading 4</h4>
  <h5>Heading 5</h5>
  <h6>Heading 6</h6>
</div>

type > paragraph

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim.

<div class="type">
  <p>...</p>
</div>

type > blockquote

“Words can be like X-rays, if you use them properly – they'll go through anything. You read and you're pierced.”

– Aldous Huxley, Brave New World

<div class="type">
  <blockquote cite="...">
    <p>&ldquo; ... &rdquo;</p>
    <p><cite>...</cite></p>
  </blockquote>
</div>

type > figure

Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<div class="type">
  <figure>
    <img src="..." />
    <figcaption>...</figcaption>
  </figure>
</div>

type > hr


<div class="type">
  <hr />
</div>

type > lists

  • Milk
  • Cheese
    • Blue cheese
    • Feta
<div class="type">
  <ul>
    <li>Milk</li>
    <li>Cheese
      <ul>
        <li>Blue cheese</li>
        <li>Feta</li>
      </ul>
    </li>
  </ul>
</div>
  1. Mix flour, baking powder, sugar, and salt.
  2. In another bowl, mix eggs, milk, and oil.
  3. Stir both mixtures together.
  4. Fill muffin tray 3/4 full.
  5. Bake for 20 minutes.
<div class="type">
  <ol>
    <li>Mix flour, baking powder, sugar, and salt.</li>
    <li>In another bowl, mix eggs, milk, and oil.</li>
    <li>Stir both mixtures together.</li>
    <li>Fill muffin tray 3/4 full.</li>
    <li>Bake for 20 minutes.</li>
  </ol>
</div>
Beast of Bodmin
A large feline inhabiting Bodmin Moor.
Morgawr
A sea serpent.
Owlman
A giant owl-like creature.
<div class="type">
  <dl>
    <dt>Beast of Bodmin</dt>
    <dd>A large feline inhabiting Bodmin Moor.</dd>

    <dt>Morgawr</dt>
    <dd>A sea serpent.</dd>

    <dt>Owlman</dt>
    <dd>A giant owl-like creature.</dd>
  </dl>
</div>

type > table

The table header
The table body with two columns
<div class="type">
  <table>
    <thead>
      <tr>
        <th colspan="2">The table header</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>The table body</td>
        <td>with two columns</td>
      </tr>
    </tbody>
  </table>
</div>