Component icon
boxicons:component
The Component icon (boxicons:component) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m21.41 12.09l-3.91-1.74V5c0-.4-.23-.75-.59-.91l-4.5-2a.96.96 0 0 0-.81 0l-4.5 2c-.36.16-.59.52-.59.91v5.35L2.6 12.09c-.36.16-.59.52-.59.91v6c0 .4.23.75.59.91l4.5 2a.98.98 0 0 0 .82 0l4.09-1.82l4.09 1.82a.98.98 0 0 0 .82 0l4.5-2c.36-.16.59-.52.59-.91v-6c0-.4-.23-.75-.59-.91Zm-4.91 2.82l-3.16-1.41l2.72-1.21l.44-.19l3.16 1.4zM11 8.65v2.81l-2.5-1.11V7.54zm4.5 1.7L13 11.46V8.65l2.5-1.11zm-8 1.74l.44.19l2.72 1.21L7.5 14.9l-3.16-1.41zm1 4.56l2.5-1.11v2.81l-2.5 1.11zM12 4.09l3.16 1.4L12 6.9L8.84 5.49zM4 15.54l2.5 1.11v2.81L4 18.35zm9 0l2.5 1.11v2.81L13 18.35zm4.5 3.92v-2.81l2.5-1.11v2.81z"/></svg>How to use the Component icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:component" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:component" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:component" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--component]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:component"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:component"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/component.svg" alt="Component icon" width="24" height="24">Related icons in Boxicons
Component icon in other icon sets
Component icon FAQ
Is the Component icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Component icon in React?
Install @iconify/react and render <Icon icon="boxicons:component" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Component icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/component.svg" alt="Component icon">, or paste the SVG code inline to style it with CSS.