ICONYZ
English
Insomnia icon from theSVG

Insomnia icon

thesvg:insomnia

The Insomnia icon (thesvg:insomnia) is a free SVG icon from the theSVG set by thesvg.org. It is drawn on a 24 × 24 grid. theSVG 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
theSVG
Author
thesvg.org
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="M12.136 3.458a8.542 8.542 0 1 1-7.9 5.286A3.322 3.322 0 1 0 8.88 4.1a8.5 8.5 0 0 1 3.256-.642M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12s12-5.373 12-12S18.627 0 12 0m0 1.22c5.953 0 10.78 4.827 10.78 10.78S17.953 22.78 12 22.78S1.22 17.953 1.22 12S6.047 1.22 12 1.22"/></svg>

How to use the Insomnia icon

React

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

<Icon icon="thesvg:insomnia" width="24" />

Vue

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

<template>
  <Icon icon="thesvg:insomnia" width="24" />
</template>

Svelte

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

<Icon icon="thesvg:insomnia" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="thesvg:insomnia"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/thesvg/insomnia.svg" alt="Insomnia icon" width="24" height="24">

Insomnia icon in other icon sets

Insomnia icon FAQ

Is the Insomnia icon free for commercial use?

Yes. theSVG icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Insomnia icon in React?

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

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

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

Browse all theSVG icons →