Skip to content
tablericons

shape

Square Dashed icon

Download the Square Dashed icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.

  • dashed-box
  • selection
  • frame
  • placeholder
  • border
  • square
  • dashed
Size
Stroke
Color
Download SVG

Press C to copy SVG, J for JSX, D to download.

Category
shape
Styles
Outline
Component
IconSquareDashed
License
MIT · Paweł Kuna

Code

Copy it the way you use it

square-dashed.svg
<svg
  xmlns="http://www.w3.org/2000/svg"
  width="24"
  height="24"
  viewBox="0 0 24 24"
  fill="none"
  stroke="currentColor"
  stroke-width="2"
  stroke-linecap="round"
  stroke-linejoin="round"
 
>
  <path d="M5 3a2 2 0 0 0 -2 2" />
  <path d="M19 3a2 2 0 0 1 2 2" />
  <path d="M21 19a2 2 0 0 1 -2 2" />
  <path d="M5 21a2 2 0 0 1 -2 -2" />
  <path d="M9 3h1" />
  <path d="M9 21h1" />
  <path d="M14 3h1" />
  <path d="M14 21h1" />
  <path d="M3 9v1" />
  <path d="M21 9v1" />
  <path d="M3 14v1" />
  <path d="M21 14v1" />
</svg>

Use the Square Dashed icon

For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.

React example
import { IconSquareDashed } from '@tabler/icons-react';

<IconSquareDashed size={24} stroke={2} />
Read the React guide
Vue example
import { IconSquareDashed } from '@tabler/icons-vue';

<IconSquareDashed :size="24" :stroke="2" />
Read the Vue guide
Svelte 5 example
import { IconSquareDashed } from '@tabler/icons-svelte-runes';

<IconSquareDashed size={24} stroke={2} />
Read the Svelte guide

Compare variants and alternatives

Related

Related icons

See all 486 shape icons