ICONYZ
English
Lego icon from theSVG Color

Lego icon

thesvg-color:lego

The Lego icon (thesvg-color:lego) is a free SVG icon from the theSVG Color set by thesvg.org. It is drawn on a 180 × 180 grid. theSVG Color icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
theSVG Color
Author
thesvg.org
License
MIT
Size
180 × 180
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180" viewBox="0 0 180 180"><g fill="#ffcf00"><path fill="#fff" d="M1.223 1.204V178.8H178.82l-.001-177.596z"/><path fill="#ffed00" fill-rule="evenodd" d="M1.223 178.8V1.204h177.595l.001 177.596zm162.171-86.743c1.555-4.606 3.316-11.5 3.606-17.033c.221-4.174-.341-10.02-4.278-14.174c-3.141-3.319-7.94-4.994-14.264-4.994c-7.989 0-14.426 2.82-19.136 8.397l-1.243 1.466l-.826-1.734c-.674-1.413-1.156-1.992-1.89-2.82c-3.219-3.642-8.617-5.488-16.044-5.487c-6.804 0-12.95 2.039-17.308 5.742l-1.103.937l-.76-1.237c-2.058-3.345-7.188-5.51-13.065-5.51c-8.456.002-16.988 1.15-22.135 9.447l-2.133 3.424l-.167-4.033c-.13-3.12-.415-4.416-1.866-5.952c-1.596-1.693-4.282-2.516-8.21-2.513c-5.768 0-10.103 2.515-13.256 7.694c-4.853 7.752-16.583 33.25-16.324 45.369c.17 7.865 5.418 12.679 14.043 12.878c7.108.172 12.758-1.652 16.347-5.274l.916-.926l.88.952c3.226 3.502 8.13 5.432 13.811 5.432c7.234 0 13.42-2.248 16.973-6.171l.97-1.069l.912 1.121c3.326 4.086 8.466 6.228 14.863 6.202c8.343-.037 16.135-3.871 21.376-10.512l1.374-1.741l.767 2.083c3.23 8.783 11.984 10.092 16.921 10.095c16.765 0 24.005-11.503 30.249-30.059" clip-rule="evenodd"/><path fill="#e3000b" fill-rule="evenodd" d="M1.223 178.8V1.204h177.595l.001 177.596zm163.283-73.742c2.321-4.784 6.688-16.757 7.495-23.222l.009-.071c.984-7.892 1.915-15.36-3.41-22.781c-3.786-5.274-10.237-8.813-20.052-8.814c-7.419 0-14.045 2.01-19.343 6.416c-4.537-4.49-11.044-6.528-19.802-6.526c-6.853 0-12.605 1.567-17.614 4.574c-3.636-2.889-7.904-4.694-14.704-4.694c-6.164-.001-14.818.32-21.347 5.863c-1.509-3.079-4.577-5.497-13.04-5.497c-7.796 0-14.156 3.688-18.327 10.535c-5.569 8.895-17.39 34.582-17.088 48.614c.225 10.563 8.146 17.84 19.62 18.113c6.895.161 12.767-1.315 17.248-4.289c4.052 2.92 9.23 4.497 14.984 4.497c6.886.001 13.098-1.807 17.704-5.053c4.173 3.308 9.648 5.096 15.842 5.096c8.036.003 15.503-2.772 21.535-8.051c4.114 5.246 11.162 7.973 19.721 7.974c16.023.001 24.346-9.854 30.569-22.684" clip-rule="evenodd"/><path fill-rule="evenodd" d="M0 180V0h180l-.003 179.997zm177.52-2.479l.002-175.043H2.476L2.48 177.52z" clip-rule="evenodd"/><path fill-rule="evenodd" d="M167.615 54.301a4.305 4.305 0 0 1 4.309-4.313a4.307 4.307 0 0 1 4.315 4.313a4.304 4.304 0 0 1-4.315 4.312a4.3 4.3 0 0 1-4.309-4.312m4.311-3.457c1.918.001 3.477 1.545 3.472 3.463c.005 1.918-1.56 3.467-3.472 3.467a3.46 3.46 0 0 1-3.453-3.467a3.45 3.45 0 0 1 3.453-3.463m1.679 4.81l.515.9l-1.117.007l-.357-.73a3.6 3.6 0 0 0-.609-.874c-.176-.183-.337-.229-.734-.229l-.164.001l-.002 1.83h-.921v-4.467h2.225c.959 0 1.409.535 1.409 1.243c.002.675-.454 1.16-1.208 1.25l.002.025c.383.133.51.258.961 1.044m-2.469-2.868v1.227h.933c.624 0 .83-.304.821-.62c0-.394-.313-.61-.921-.61zm-42.77 10.664c4.348-5.15 10.782-8.839 20.086-8.839c16.105 0 20.318 10.53 19.79 20.48c-.313 5.98-2.232 13.104-3.666 17.365c-6.37 18.931-14.02 30.902-31.43 30.9c-7.945.002-15.216-3.098-18.081-10.908c-5.233 6.622-13.231 10.944-22.35 10.989c-6.97.034-12.39-2.429-15.835-6.66c-4.09 4.514-11.011 6.581-17.89 6.583c-6.18-.004-11.34-2.157-14.727-5.835c-3.774 3.806-9.704 5.826-17.257 5.649c-9.675-.232-15.08-6.037-15.258-14.095c-.266-12.474 11.614-38.226 16.511-46.045c3.38-5.547 8.075-8.27 14.31-8.273c3.423.003 6.938.598 9.111 2.9c1.787 1.89 2.074 3.57 2.206 6.75c5.48-8.83 14.716-10.03 23.19-10.028c6.484 0 11.866 2.427 14.124 6.096c4.346-3.694 10.605-6.038 18.113-6.038c7.685.001 13.41 1.876 16.974 5.908c.786.885 1.345 1.562 2.079 3.102ZM43.59 106.915c.286-3.016-1.973-6.273-10.986-4.709c.895-2.005 2.226-4.753 3.737-7.873v-.001C41.183 84.334 47.874 70.519 48 65.114c.068-2.665-1.006-4.887-5.328-4.885c-4.566-.002-7.43 1.908-9.776 5.762c-5.088 8.125-15.893 32.635-15.666 43.229c.128 6.056 4.823 8.446 10.04 8.568c7.19.167 15.472-1.852 16.321-10.874Zm18.35-13.03c-.6 1.614-1.728 4.994-2.639 8.571c2.958-.738 5.173-1.249 8.97-1.161c4.329.106 7.099 1.898 7.097 5.48c0 8.674-9.593 11.222-16.24 11.224c-7.306 0-13.724-4.155-13.724-12.144c0-9.366 5.076-23.568 9.84-33.023c5.848-11.616 11.827-13.159 22.12-13.159c4.526 0 9.736 1.932 9.736 6.204c0 5.922-5.008 8.18-9.983 8.466c-2.127.122-5.394.239-7.348.099c0 0-1.661 2.525-3.416 7.015c9.208-1.296 13.116.795 11.562 6.12c-2.104 7.199-8.342 7.674-15.976 6.307Zm39.964-19.114c1.215-1.703 2.84-3.28 5.333-3.28c3.055 0 2.759 1.616 2.034 3.681c-2.059 5.88 4.159 6.035 5.677 5.915c5.428-.423 8.419-3.93 9.155-9.904c1.008-8.134-5.845-11.257-14.532-11.257c-14.48 0-20.164 8.856-25.586 21.516c-2.547 5.947-5.755 16.11-5.754 22.582c-.001 9.09 5.53 14.019 14.444 14.019c13.017 0 22.215-10.38 24.843-23.313c.809-3.98 1.806-11.449-8.304-11.033c-5.132.212-8.228 1.344-9.86 6.588c-1.68 5.402 4.413 5.549 4.413 5.549c-1.226 5.585-4.815 8.971-8.013 8.974c-1.996 0-3.812-.866-3.204-5.09c.903-6.176 6.687-21.198 9.354-24.947m60.017 7.407c-1.536 7.62-4.976 16.64-8.714 23.361c-6.1 10.964-13.499 12.5-19.968 12.418c-6.465-.077-13.754-2.461-13.809-12.439c-.039-7.16 3.048-17.272 5.671-23.893c4.575-12.01 9.241-21.805 24.01-21.63c17.218.201 14.147 15.516 12.81 22.183m-21.598 19.537c2.394-4.055 9.133-22.448 9.317-27.047c.054-1.34-.167-2.9-2.327-2.925c-1.481-.021-2.769.266-3.927 2.055c-2.602 3.382-10.219 24.185-10.09 28.335c.047 1.492.88 2.795 2.712 2.795c2.11.002 3.279-1.45 4.315-3.213" clip-rule="evenodd"/></g></svg>

How to use the Lego icon

React

import { Icon } from "@iconify/react";

<Icon icon="thesvg-color:lego" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="thesvg-color:lego" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="thesvg-color:lego" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[thesvg-color--lego]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/thesvg-color -->
<div class="i-thesvg-color:lego"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="thesvg-color:lego"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/thesvg-color/lego.svg" alt="Lego icon" width="24" height="24">

Lego icon in other icon sets

Lego icon FAQ

Is the Lego icon free for commercial use?

Yes. theSVG Color icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Lego icon in React?

Install @iconify/react and render <Icon icon="thesvg-color:lego" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Lego icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/thesvg-color/lego.svg" alt="Lego icon">, or paste the SVG code inline to style it with CSS.

Browse all theSVG Color icons →