Blocks icon
Download the Blocks icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- building-blocks
- components
- modules
- lego
- cubes
- stack
- bricks
Size
Stroke
Color
- Category
- ui
- Styles
- Outline
- Component
- IconBlocks
- License
- MIT · Paweł Kuna
- Files
-
outline/blocks.svg
Code
Copy it the way you use it
blocks.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="M14 4a1 1 0 0 1 1 -1h5a1 1 0 0 1 1 1v5a1 1 0 0 1 -1 1h-5a1 1 0 0 1 -1 -1l0 -5" />
<path d="M3 14h12a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h3a2 2 0 0 1 2 2v12" />
</svg> Use the Blocks 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 { IconBlocks } from '@tabler/icons-react';
<IconBlocks size={24} stroke={2} />Read the React guideVue example
import { IconBlocks } from '@tabler/icons-vue';
<IconBlocks :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconBlocks } from '@tabler/icons-svelte-runes';
<IconBlocks size={24} stroke={2} />Read the Svelte guideRelated