Skip to main content

Basic text

Headings

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
<h1 class="env-text">Heading 1</h1>

<h2 class="env-text">Heading 2</h2>

<h3 class="env-text">Heading 3</h3>

<h4 class="env-text">Heading 4</h4>

<h5 class="env-text">Heading 5</h5>

<h6 class="env-text">Heading 6</h6>

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
<div class="env-text">
   <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>
Looks like heading 1
Looks like heading 2
Looks like heading 3
Looks like heading 4
Looks like heading 5
Looks like heading 6
Looks like paragraph
Looks like small
<div class="env-text-h1">Looks like heading 1</div>

<div class="env-text-h2">Looks like heading 2</div>

<div class="env-text-h3">Looks like heading 3</div>

<div class="env-text-h4">Looks like heading 4</div>

<div class="env-text-h5">Looks like heading 5</div>

<div class="env-text-h6">Looks like heading 6</div>

<div class="env-text-p">Looks like paragraph</div>

<div class="env-text-small">Looks like small</div>

Transformation

will be all uppercase

THIS WILL BE LOWERCASE

every word will start with a capital letter.

This text will be hard to read

<p class="env-text env-text--uppercase">will be all uppercase</p>

<p class="env-text env-text--lowercase">THIS WILL BE LOWERCASE</p>

<p class="env-text env-text--capitalize">
   every word will start with a capital letter.
</p>

<p class="env-text env-text--strike">This text will be hard to read</p>

Alignment

Left aligned (default)
Center aligned
Right aligned
<div class="env-text">Left aligned (default)</div>
<div class="env-text env-text-align--center">Center aligned</div>
<div class="env-text env-text-align--right">Right aligned</div>

Logical properties

Start aligned
End aligned
<div class="env-text env-text-align--start">Start aligned</div>
<div class="env-text env-text-align--end">End aligned</div>

Logical properties, right to left-aligned

من اليمين الى اليسار
بدء محاذاة
محاذاة النهاية
<div dir="rtl">
   <div class="env-text">من اليمين الى اليسار</div>
   <div class="env-text env-text-align--start">بدء محاذاة</div>
   <div class="env-text env-text-align--end">محاذاة النهاية</div>
</div>

Status colors

Attention text

Active text

Error text

<p class="env-text env-text--attention">Attention text</p>
<p class="env-text env-text--active">Active text</p>
<p class="env-text env-text--error">Error text</p>
<p class="env-text">
   <a href="#" class="env-link">An example link</a>
</p>

<p class="env-text">
   <a href="#" class="env-link-secondary">A secondary link</a>
</p>

Link icons are used to indicate the type of link, such as external links or links that open in a new window. The icons should be used with the env-link-icon class.

Available link icons:

#link-tab, #link-external, #link-external-tab

<p class="env-text">
   <a href="#" target="_blank"
      >Link that opens in new window<svg
         class="env-link-icon"
         aria-hidden="true"
      >
         <use href="/sitevision/link-icons.svg#link-tab"></use>
      </svg>
      <span class="env-assistive-text">Opens in new window</span>
   </a>
</p>

<p class="env-text">
   <a href="#"
      >An external link<svg class="env-link-icon" aria-hidden="true">
         <use href="/sitevision/link-icons.svg#link-external"></use>
      </svg>
      <span class="env-assistive-text">External link</span>
   </a>
</p>

<p class="env-text">
   <a href="#" target="_blank"
      >External link, opens in new window<svg
         class="env-link-icon"
         aria-hidden="true"
      >
         <use href="/sitevision/link-icons.svg#link-external-tab"></use>
      </svg>
      <span class="env-assistive-text">External link, opens in new window</span>
   </a>
</p>

The file link icons may be used to indicate the type of file linked to, such as PDF, Word, Excel, etc.

The icons should be used with the env-link-icon class. An additional element using env-link-meta may be used to provide file type and size information.

<p class="env-text">
   <a href="#" target="_blank"
      >Link to PDF document, opens in new window<svg
         class="env-link-icon"
         aria-hidden="true"
      >
         <use href="/sitevision/file-icons.svg#file-pdf"></use>
      </svg>
      <span class="env-assistive-text">pdf, 42 kB, opens in new window</span>
   </a>
   <span class="env-link-meta" aria-hidden="true">(pdf, 42 kB)</span>
</p>

Available file link icons:

  • #file-ms-word
  • #file-ms-powerpoint
  • #file-ms-excel
  • #file-ms-notes
  • #file-text
  • #file-archive
  • #file-image
  • #file-pdf
  • #file-media
  • #file
  • #folder

Blockquote 2025.04.2

Classname env-blockquote or <blockquote> element inside an env-text wrapper will get theme blockquote styling.

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.

<blockquote class="env-blockquote">
   <p class="env-text-quotation-01">
      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.
   </p>
</blockquote>

Mark 2025.04.2

Classname env-mark or <mark> element inside an env-text wrapper will use theme mark highlight colors.

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Sed do eiusmod tempor incididunt ut labore et ipsum dolor magna aliqua.

<p>
   Lorem <mark class="env-mark">ipsum dolor</mark> sit amet, consectetur
   adipiscing elit.
</p>
<p class="env-text">
   Sed do eiusmod tempor incididunt ut labore et <mark>ipsum dolor</mark> magna
   aliqua.
</p>

Legacy class names Deprecated

The class env-text--muted is deprecated. Use UI Text or Content Text styles instead. The muted style often results in insufficient contrast, especially in custom themes.

Muted text

<p class="env-text">
   <small class="env-text--muted">Muted text</small>
</p>

Envision documentation