Undo icon
gridicons:undo
The Undo icon (gridicons:undo) is a free SVG icon from the Gridicons set by Automattic. It is drawn on a 24 × 24 grid. Gridicons are released under the GPL 2.0 license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Gridicons
- Author
- Automattic
- License
- GPL-2.0-only
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M18.142 5.929c-1.172-1.172-2.707-1.757-4.243-1.757s-3.071.586-4.243 1.757L6 9.586V6H4v7h7v-2H7.414l3.657-3.657a3.98 3.98 0 0 1 2.828-1.172c1.068 0 2.073.416 2.828 1.172a4.004 4.004 0 0 1 0 5.657l-5.364 5.364l1.414 1.414l5.364-5.364a6 6 0 0 0 .001-8.485"/></svg>How to use the Undo icon
React
import { Icon } from "@iconify/react";
<Icon icon="gridicons:undo" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gridicons:undo" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gridicons:undo" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gridicons--undo]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gridicons -->
<div class="i-gridicons:undo"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gridicons:undo"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/gridicons/undo.svg" alt="Undo icon" width="24" height="24">Undo icon in other icon sets
Undo icon FAQ
Is the Undo icon free for commercial use?
Yes. Gridicons are released under the GPL 2.0 license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license.
How do I use the Undo icon in React?
Install @iconify/react and render <Icon icon="gridicons:undo" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Undo icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/gridicons/undo.svg" alt="Undo icon">, or paste the SVG code inline to style it with CSS.