ICONYZ
English
Tent icon from Boxicons

Tent icon

boxicons:tent

The Tent icon (boxicons:tent) 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="m13.18 6.75l2.66-4.22l-1.69-1.07L12 4.87L9.85 1.46L8.16 2.53l2.66 4.22l-8.67 13.72A1.006 1.006 0 0 0 3 22.01h18c.36 0 .7-.2.88-.52s.16-.71-.03-1.02zM10.24 20L12 16.98L13.76 20zm5.83 0l-3.21-5.5c-.36-.62-1.37-.62-1.73 0L7.92 20H4.81L12 8.62L19.19 20h-3.11Z"/></svg>

How to use the Tent icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Boxicons

Tent icon in other icon sets

Tent icon FAQ

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

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

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

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

Browse all Boxicons →