Toy Brick icon
andrsrxn:toy-brick
The Toy Brick icon (andrsrxn:toy-brick) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Gaming
- Tags
- toybrick
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><rect width="21.13" height="10.72" x="1.43" y="9.01" fill="currentColor" opacity=".2" rx="2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M1.8 14.37c0-2.2 0-3.31.55-4.1a3 3 0 0 1 .7-.7C3.83 9 4.94 9 7.15 9h9.7c2.21 0 3.32 0 4.1.56a3 3 0 0 1 .7.7c.56.79.56 1.9.56 4.1c0 2.21 0 3.32-.56 4.1a3 3 0 0 1-.7.7c-.78.56-1.89.56-4.1.56h-9.7c-2.21 0-3.32 0-4.1-.55a3 3 0 0 1-.7-.71c-.56-.78-.56-1.89-.56-4.1"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9.96 9.01V6.27c0-.95 0-1.42-.3-1.7c-.28-.3-.76-.3-1.7-.3H6.61c-.94 0-1.41 0-1.7.3c-.3.28-.3.75-.3 1.7V9m14.81.01V6.27c0-.95 0-1.42-.3-1.7c-.29-.3-.76-.3-1.7-.3h-1.35c-.95 0-1.42 0-1.71.3c-.3.28-.3.75-.3 1.7V9"/></g></svg>How to use the Toy Brick icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:toy-brick" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:toy-brick" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:toy-brick" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--toy-brick]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:toy-brick"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:toy-brick"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/toy-brick.svg" alt="Toy Brick icon" width="24" height="24">Toy Brick icon in other icon sets
Toy Brick icon FAQ
Is the Toy Brick icon free for commercial use?
Yes. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Toy Brick icon in React?
Install @iconify/react and render <Icon icon="andrsrxn:toy-brick" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Toy Brick icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/andrsrxn/toy-brick.svg" alt="Toy Brick icon">, or paste the SVG code inline to style it with CSS.