- Category
- shape
- Styles
- Outline
- Component
- IconSquareForbid
- License
- MIT · Paweł Kuna
Square Forbid icon
Download the Square Forbid icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- forbidden
- block
- ban
- disabled
- stop
- square
- box
- forbid
Size
Stroke
Color
Code
Copy it the way you use it
square-forbid.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="M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14" />
<path d="M9 9l6 6" />
</svg> Use the Square Forbid 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 { IconSquareForbid } from '@tabler/icons-react';
<IconSquareForbid size={24} stroke={2} />Read the React guideVue example
import { IconSquareForbid } from '@tabler/icons-vue';
<IconSquareForbid :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconSquareForbid } from '@tabler/icons-svelte-runes';
<IconSquareForbid size={24} stroke={2} />Read the Svelte guideCompare variants and alternatives
Related