ICONYZ
English
Component Code icon from Griddy Icons

Component Code icon

griddy-icons:component-code

The Component Code icon (griddy-icons:component-code) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy 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
Griddy Icons
Author
Zuzana Benova
License
MIT
Size
24 × 24
Tags
componentcode
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M19.25 20H4.75A2.755 2.755 0 0 1 2 17.25V6.75A2.755 2.755 0 0 1 4.75 4h14.5A2.755 2.755 0 0 1 22 6.75v10.5A2.755 2.755 0 0 1 19.25 20M4.75 5.5c-.69 0-1.25.56-1.25 1.25v10.5c0 .69.56 1.25 1.25 1.25h14.5c.69 0 1.25-.56 1.25-1.25V6.75c0-.69-.56-1.25-1.25-1.25zm4.97 10.78l-3.395-3.395a1.26 1.26 0 0 1 0-1.77L9.72 7.72l1.06 1.06L7.56 12l3.22 3.22zm3.5-1.06l1.06 1.06l3.396-3.395a1.26 1.26 0 0 0 0-1.77L14.28 7.72l-1.06 1.06L16.44 12z" clip-rule="evenodd"/></svg>

How to use the Component Code icon

React

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

<Icon icon="griddy-icons:component-code" width="24" />

Vue

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

<template>
  <Icon icon="griddy-icons:component-code" width="24" />
</template>

Svelte

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

<Icon icon="griddy-icons:component-code" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--component-code]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/griddy-icons -->
<div class="i-griddy-icons:component-code"></div>

Web component

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

<iconify-icon icon="griddy-icons:component-code"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/griddy-icons/component-code.svg" alt="Component Code icon" width="24" height="24">

Related icons in Griddy Icons

Component Code icon FAQ

Is the Component Code icon free for commercial use?

Yes. Griddy Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Component Code icon in React?

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

How do I add the Component Code icon to a web page?

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

Browse all Griddy Icons →