Skip to content
tablericons

general

Lego icon

Download the Lego icon as free SVG or PNG. Compare outline and filled styles. Copy React, Vue or Svelte code.

  • toy
  • brick
  • block
  • building-block
  • play
  • kids
  • minifigure
Style
Size
Stroke
Color
Download SVG

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

Category
general
Styles
Outline, filled
Component
IconLego
License
MIT · Paweł Kuna

Code

Copy it the way you use it

lego.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="M9.5 11l.01 0" />
  <path d="M14.5 11l.01 0" />
  <path d="M9.5 15a3.5 3.5 0 0 0 5 0" />
  <path d="M7 5h1v-2h8v2h1a3 3 0 0 1 3 3v9a3 3 0 0 1 -3 3v1h-10v-1a3 3 0 0 1 -3 -3v-9a3 3 0 0 1 3 -3" />
</svg>

Use the Lego 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 { IconLego } from '@tabler/icons-react';

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

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

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

Compare variants and alternatives

Related

Related icons

See all 788 general icons