ICONYZ
English
Worktree icon from Codicons

Worktree icon

codicon:worktree

The Worktree icon (codicon:worktree) 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
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m12.854 14.854l2-2a.5.5 0 0 0 0-.707l-2-2a.5.5 0 0 0-.707.707L13.293 12H8.5a.5.5 0 0 1-.5-.5v-6c0-.275.225-.5.5-.5h4.793l-1.146 1.146a.5.5 0 0 0 0 .708a.5.5 0 0 0 .707 0l2-2a.5.5 0 0 0 0-.707l-2-2a.5.5 0 0 0-.707.707L13.293 4H8.5C7.673 4 7 4.673 7 5.5V8H1.5a.5.5 0 0 0 0 1H7v2.5c0 .827.673 1.5 1.5 1.5h4.793l-1.146 1.146a.5.5 0 0 0 0 .708a.5.5 0 0 0 .707 0"/></svg>

How to use the Worktree icon

React

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

<Icon icon="codicon:worktree" width="24" />

Vue

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

<template>
  <Icon icon="codicon:worktree" width="24" />
</template>

Svelte

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

<Icon icon="codicon:worktree" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--worktree]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:worktree"></div>

Web component

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

<iconify-icon icon="codicon:worktree"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/codicon/worktree.svg" alt="Worktree icon" width="24" height="24">

Related icons in Codicons

Worktree icon FAQ

Is the Worktree 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 Worktree icon in React?

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

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

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

Browse all Codicons →