Squares icon
Download the Squares icon as free SVG or PNG. Compare outline and filled styles. Copy React, Vue or Svelte code.
- boxes
- layers
- copy
- duplicate
- overlap
- stack
- shapes
Style
Size
Stroke
Filled icons have no stroke
Color
- Category
- general
- Styles
- Outline, filled
- Component
- IconSquares
- License
- MIT · Paweł Kuna
Code
Copy it the way you use it
squares.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="M8 10a2 2 0 0 1 2 -2h9a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-9a2 2 0 0 1 -2 -2l0 -9" />
<path d="M16 8v-3a2 2 0 0 0 -2 -2h-9a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h3" />
</svg> Use the Squares 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 { IconSquares } from '@tabler/icons-react';
<IconSquares size={24} stroke={2} />Read the React guideVue example
import { IconSquares } from '@tabler/icons-vue';
<IconSquares :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconSquares } from '@tabler/icons-svelte-runes';
<IconSquares size={24} stroke={2} />Read the Svelte guideCompare variants and alternatives
Related