Article body

Readable long-form text: a lead paragraph, headings, lists, a pull quote, a table and a code sample, set on a comfortable line length. Use it for the body of an article or guide. Wrap your own content in blk-prose and every element inside is styled.

← All blocks
Theme
Fonts
Width
HTML
<section class="blk-section" aria-labelledby="blk-prose-h">
  <div class="blk-container">
    <article class="blk-prose">
      <p class="blk-prose__lead">A lead paragraph in a larger size, saying what the article covers in a sentence or two.</p>
      <h2 id="blk-prose-h">A section heading</h2>
      <p>Body text is set at a comfortable measure so it stays easy to read. Links look like <a href="#">this</a> and stay underlined.</p>
      <ul>
        <li>Lists keep their spacing and markers.</li>
        <li>Use them for steps, options or short facts.</li>
      </ul>
      <blockquote>A quote or key point that deserves a pause, set apart from the text around it.</blockquote>
      <h3>A sub-section</h3>
      <p>Tables get a clear header row and thin rules between rows.</p>
      <table>
        <thead><tr><th scope="col">Option</th><th scope="col">Best for</th></tr></thead>
        <tbody>
          <tr><td>First</td><td>The common case</td></tr>
          <tr><td>Second</td><td>The unusual case</td></tr>
        </tbody>
      </table>
      <pre><code>npm run build</code></pre>
    </article>
  </div>
</section>