ICONYZ
English
Tree icon from Boxicons

Tree icon

boxicons:tree

The Tree icon (boxicons:tree) 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.

Icon set
Boxicons
Author
Boxicons
License
MIT
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="M18 14c.38 0 .73-.21.89-.55s.13-.74-.09-1.05L17 10a1 1 0 0 0 .77-1.64l-5-6c-.38-.46-1.16-.46-1.54 0l-5 6A1 1 0 0 0 7 10l-1.8 2.4c-.23.3-.26.71-.09 1.05s.52.55.89.55l-1.8 2.4c-.23.3-.26.71-.09 1.05s.52.55.89.55h6v4h2v-4h6c.38 0 .73-.21.89-.55s.13-.74-.09-1.05zM7 16l1.8-2.4c.23-.3.26-.71.09-1.05S8.37 12 8 12l1.8-2.4c.23-.3.26-.71.09-1.05c-.15-.3-.44-.5-.77-.54l2.87-3.45l2.87 3.45c-.33.04-.62.25-.77.54c-.17.34-.13.74.09 1.05l1.8 2.4c-.38 0-.73.21-.89.55s-.13.74.09 1.05l1.8 2.4z"/></svg>

How to use the Tree icon

React

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

<Icon icon="boxicons:tree" width="24" />

Vue

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

<template>
  <Icon icon="boxicons:tree" width="24" />
</template>

Svelte

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

<Icon icon="boxicons:tree" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="boxicons:tree"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/boxicons/tree.svg" alt="Tree icon" width="24" height="24">

Related icons in Boxicons

Tree icon in other icon sets

Tree icon FAQ

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

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

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

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

Browse all Boxicons →