While Loop icon
carbon:while-loop
The While Loop icon (carbon:while-loop) is a free SVG icon from the Carbon set by IBM. It is drawn on a 32 × 32 grid. Carbon 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M23 23h7v7h-2v-3.352A8.95 8.95 0 0 1 21 30H11c-5 0-9-4-9-9v-8h2v8c0 3.9 3.1 7 7 7h10a6.95 6.95 0 0 0 5.752-3H23zM9 7H5.248A6.95 6.95 0 0 1 11 4h10c3.9 0 7 3.1 7 7v8h2v-8c0-5-4-9-9-9H11a8.95 8.95 0 0 0-7 3.352V2H2v7h7zm4.957 15l1.53-6.346l.774-3.164h.035l.74 3.164L18.565 22h2.562L24 9.997h-2.167l-1.22 5.76l-.757 3.68h-.052l-.842-3.68l-1.376-5.76h-2.511l-1.376 5.76l-.86 3.68h-.051l-.74-3.68l-1.186-5.76h-2.27L11.377 22z"/></svg>How to use the While Loop icon
React
import { Icon } from "@iconify/react";
<Icon icon="carbon:while-loop" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="carbon:while-loop" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="carbon:while-loop" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[carbon--while-loop]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/carbon -->
<div class="i-carbon:while-loop"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="carbon:while-loop"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/carbon/while-loop.svg" alt="While Loop icon" width="24" height="24">While Loop icon FAQ
Is the While Loop icon free for commercial use?
Yes. Carbon icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the While Loop icon in React?
Install @iconify/react and render <Icon icon="carbon:while-loop" />, or use “Copy code” on this page to get a standalone React component.
How do I add the While Loop icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/carbon/while-loop.svg" alt="While Loop icon">, or paste the SVG code inline to style it with CSS.