Skip to main content

Text Centered


Examples

Heading
Smaller heading

Inline text 

Example link text 

Icon font

Use in web applications, on buttons, and anywhere you need more than a few icons.

<i class="modus-icons" aria-hidden="true">text_centered</i>

SVG sprite

Use for static sites when you only need a few icons.

<svg class="mi" width="1em" height="1em" fill="currentColor">
  <use xlink:href="/modus-solid-icons.svg#text-centered" />
</svg>

SVG code

Use when you don't want any dependency.

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="mi-solid mi-text-centered" viewBox="0 0 24 24">
  <path d="M17 7H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1m1 7c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1m2-4c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1m0 8c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1"/>
</svg>

SVG CSS code

Use for embedding your icons in CSS with no dependency.