Sleep icon
icon-park:sleep
The Sleep icon (icon-park:sleep) is a free SVG icon from the IconPark set by ByteDance. It is drawn on a 48 × 48 grid. IconPark 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
- Author
- ByteDance
- License
- Apache-2.0
- Size
- 48 × 48
- Category
- Base
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><g fill="none" stroke="#000" stroke-linejoin="round" stroke-width="4"><path fill="#2F88FF" d="M16.8657 7.46924C16.3036 9.21181 16 11.0705 16 13C16 22.9411 24.0589 31 34 31C36.5346 31 38.9468 30.4762 41.1343 29.5308C38.8006 36.766 32.0116 42 24 42C14.0589 42 6 33.9411 6 24C6 16.5935 10.4734 10.2317 16.8657 7.46924Z"/><path stroke-linecap="round" d="M31.6605 10H41L31 18H41"/></g></svg>How to use the Sleep icon
React
import { Icon } from "@iconify/react";
<Icon icon="icon-park:sleep" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="icon-park:sleep" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="icon-park:sleep" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[icon-park--sleep]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/icon-park -->
<div class="i-icon-park:sleep"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="icon-park:sleep"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/icon-park/sleep.svg" alt="Sleep icon" width="24" height="24">Related icons in IconPark
Sleep icon in other icon sets
Sleep icon FAQ
Is the Sleep icon free for commercial use?
Yes. IconPark icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Sleep icon in React?
Install @iconify/react and render <Icon icon="icon-park:sleep" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Sleep icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/icon-park/sleep.svg" alt="Sleep icon">, or paste the SVG code inline to style it with CSS.