Skip to main content

Cancel Square


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">cancel_square</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#cancel-square" />
</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-cancel-square" viewBox="0 0 24 24">
  <path d="M19 2H5C3.35 2 2 3.35 2 5v14c0 1.65 1.35 3 3 3h14c1.65 0 3-1.35 3-3V5c0-1.65-1.35-3-3-3m-2.29 13.29a.996.996 0 0 1-.71 1.7c-.26 0-.51-.1-.71-.29l-3.32-3.32-3.32 3.32c-.2.2-.45.29-.71.29s-.51-.1-.71-.29a.996.996 0 0 1 0-1.41l3.32-3.32-3.32-3.32a.996.996 0 1 1 1.41-1.41l3.32 3.32 3.32-3.32a.996.996 0 1 1 1.41 1.41l-3.32 3.32 3.32 3.32Z"/>
</svg>

SVG CSS code

Use for embedding your icons in CSS with no dependency.