<h2>Heading 2</h2>
<h2>{{ h2_text|default(h2_text) }}</h2>
  "h2_text": "Heading 2"
  • Content:
    %h2 {
      @include themify {
        color: $heading-2-color;
      margin-bottom: 1rem;
      font-family: $heading-2-font-family;
      font-size: 1.2rem;
      line-height: 1.4em;
  • URL: /components/raw/h2/_heading-2.scss
  • Filesystem Path: components/21-atoms/headings/heading-2/_heading-2.scss
  • Size: 177 Bytes


Headers create structure. They provide a quick way to scan the main sections of a website.

  • Make sure the headline works out of context.
  • Use sentence case for headings.
  • Headings have no closing punctuation, with the exception of question marks for questions.
  • At least one paragraph of content should follow each heading.
  • Headings of the same weight should never directly follow one another.
  • Don’t use links in page headings.
  • Use only one H1 per page.
  • Don’t skip headings: e.g. do not jump from H1 to H3.
  • Currently, only Headings 1 to 3 are used.