Tent icon
ph:tent
The Tent icon (ph:tent) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor icons 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
- Phosphor
- Author
- Phosphor Icons
- License
- MIT
- Size
- 256 × 256
- Tags
- camping, outdoors, tarp
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="m255.31 188.75l-64-144A8 8 0 0 0 184 40H72a8 8 0 0 0-7.27 4.69a.2.2 0 0 0 0 .06v.12L.69 188.75A8 8 0 0 0 8 200h240a8 8 0 0 0 7.31-11.25M64 184H20.31L64 85.7Zm16 0V85.7l43.69 98.3Zm61.2 0L84.31 56h94.49l56.89 128Z"/></svg>How to use the Tent icon
React
import { Icon } from "@iconify/react";
<Icon icon="ph:tent" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ph:tent" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ph:tent" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--tent]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:tent"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ph:tent"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ph/tent.svg" alt="Tent icon" width="24" height="24">Related icons in Phosphor
Tent icon in other icon sets
Tent icon FAQ
Is the Tent icon free for commercial use?
Yes. Phosphor icons 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="ph: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/ph/tent.svg" alt="Tent icon">, or paste the SVG code inline to style it with CSS.