Resting icon
icon-park-solid:resting
The Resting icon (icon-park-solid:resting) is a free SVG icon from the IconPark Solid set by ByteDance. It is drawn on a 48 × 48 grid. IconPark Solid icons are released under the Apache 2.0 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
- IconPark Solid
- Author
- ByteDance
- License
- Apache-2.0
- Size
- 48 × 48
- Category
- Travel
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><defs><mask id="SVGD7aKwqDb"><g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"><path stroke="#fff" d="M24 26v12"/><path stroke="#000" d="M24 6v20"/><path stroke="#fff" d="M24 4v2M8 40h26l6-6m-25 6v4m17-4v4"/><path fill="#fff" stroke="#fff" d="M24 6C14.059 6 6 14.034 6 23.944V26c0-2.478 2.015-5 4.5-5s4.5 2.522 4.5 5c0-2.478 2.015-5 4.5-5s4.5 2.522 4.5 5c0-2.478 2.015-5 4.5-5s4.5 2.522 4.5 5c0-2.478 2.015-5 4.5-5s4.5 2.522 4.5 5v-2.056C42 14.034 33.941 6 24 6"/><path stroke="#000" d="M15 26s-1.5-5.5 1-11s8-9 8-9m9 20s.5-4.5-2-11s-7-9-7-9m0 19V6"/><path stroke="#fff" d="M28.5 21c2.485 0 4.5 2.522 4.5 5c0-2.478 2.015-5 4.5-5m-9 0c-2.485 0-4.5 2.522-4.5 5c0-2.478-2.015-5-4.5-5m-9 0c2.485 0 4.5 2.522 4.5 5c0-2.478 2.015-5 4.5-5M15.733 8C18.21 6.722 21.02 6 24 6s5.79.722 8.266 2"/></g></mask></defs><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#SVGD7aKwqDb)"/></svg>How to use the Resting icon
React
import { Icon } from "@iconify/react";
<Icon icon="icon-park-solid:resting" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="icon-park-solid:resting" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="icon-park-solid:resting" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[icon-park-solid--resting]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/icon-park-solid -->
<div class="i-icon-park-solid:resting"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="icon-park-solid:resting"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/icon-park-solid/resting.svg" alt="Resting icon" width="24" height="24">Resting icon in other icon sets
Resting icon FAQ
Is the Resting icon free for commercial use?
Yes. IconPark Solid icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Resting icon in React?
Install @iconify/react and render <Icon icon="icon-park-solid:resting" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Resting icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/icon-park-solid/resting.svg" alt="Resting icon">, or paste the SVG code inline to style it with CSS.