Layers icon
codicon:layers
The Layers icon (codicon:layers) is a free SVG icon from the Codicons set by Microsoft Corporation. It is drawn on a 24 × 24 grid. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Codicons
- Author
- Microsoft Corporation
- License
- CC-BY-4.0
- Size
- 24 × 24
- Tags
- layer
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M8 9c-.181 0-.357-.05-.514-.142l-5-3.001A1 1 0 0 1 2 5c0-.35.187-.68.486-.858l5-3a1.01 1.01 0 0 1 1.031.003l4.996 2.998c.3.18.486.508.486.857s-.187.679-.486.858l-5 2.999A1 1 0 0 1 8 9m0-7L3 5l5 3l5-3z"/><path d="M2.146 6.987L8 10.5l5.854-3.513c.092.154.146.33.146.513c0 .35-.186.678-.486.858l-5 3a1 1 0 0 1-1.028 0l-5-3A1 1 0 0 1 2 7.5c0-.184.054-.36.146-.513"/><path d="M2.146 9.487L8 13l5.854-3.513c.092.154.146.33.146.513c0 .35-.186.678-.486.858l-5 3a1 1 0 0 1-1.028 0l-5-3A1 1 0 0 1 2 10c0-.184.054-.36.146-.513"/></g></svg>How to use the Layers icon
React
import { Icon } from "@iconify/react";
<Icon icon="codicon:layers" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="codicon:layers" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="codicon:layers" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--layers]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:layers"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="codicon:layers"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/codicon/layers.svg" alt="Layers icon" width="24" height="24">Related icons in Codicons
Layers icon in other icon sets
Layers icon FAQ
Is the Layers icon free for commercial use?
Yes. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Layers icon in React?
Install @iconify/react and render <Icon icon="codicon:layers" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Layers icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codicon/layers.svg" alt="Layers icon">, or paste the SVG code inline to style it with CSS.