undo icon
undo-24 from Octicons by GitHub · 24 · MIT Free for personal and commercial use.
- Name
- undo-24
- Set
- Octicons
- Style
- 24
- Viewbox
- 24×24
- License
- MIT
1 other variant in Octicons
The same icon in other sets
undo-outlinedAnt Design IconsundoBoxIcons v2undoCarbonundo-fillEva IconsundoFont Awesome Solidundo-outlineFlowbite Iconsundocss.ggundoHuge IconsundoIconParkundoIconPark OutlineundoIconoirundoJam IconsundoLine AwesomeundoLucideundoMajesticonsundoMaterial SymbolsundoMaterial Symbols LightundoMaterial Design IconsundoMyna UI IconsundoPixelarticonsundoPrime Icons
Use the undo icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M9.53 2.22a.75.75 0 0 0-1.06 0L2.22 8.47a.75.75 0 0 0 0 1.06l6.25 6.25a.75.75 0 0 0 1.06-1.06L4.56 9.75H16c.797 0 2.008.245 3 .959c.952.686 1.75 1.835 1.75 3.791s-.798 3.105-1.75 3.791c-.992.714-2.203.959-3 .959h-3a.75.75 0 0 0 0 1.5h3c1.037 0 2.575-.305 3.876-1.241c1.339-.964 2.374-2.565 2.374-5.009s-1.035-4.045-2.374-5.009C18.575 8.555 17.036 8.25 16 8.25H4.56l4.97-4.97a.75.75 0 0 0 0-1.06"/></svg>
React
import type { SVGProps } from "react";
export function OcticonUndo24(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M9.53 2.22a.75.75 0 0 0-1.06 0L2.22 8.47a.75.75 0 0 0 0 1.06l6.25 6.25a.75.75 0 0 0 1.06-1.06L4.56 9.75H16c.797 0 2.008.245 3 .959c.952.686 1.75 1.835 1.75 3.791s-.798 3.105-1.75 3.791c-.992.714-2.203.959-3 .959h-3a.75.75 0 0 0 0 1.5h3c1.037 0 2.575-.305 3.876-1.241c1.339-.964 2.374-2.565 2.374-5.009s-1.035-4.045-2.374-5.009C18.575 8.555 17.036 8.25 16 8.25H4.56l4.97-4.97a.75.75 0 0 0 0-1.06"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M9.53 2.22a.75.75 0 0 0-1.06 0L2.22 8.47a.75.75 0 0 0 0 1.06l6.25 6.25a.75.75 0 0 0 1.06-1.06L4.56 9.75H16c.797 0 2.008.245 3 .959c.952.686 1.75 1.835 1.75 3.791s-.798 3.105-1.75 3.791c-.992.714-2.203.959-3 .959h-3a.75.75 0 0 0 0 1.5h3c1.037 0 2.575-.305 3.876-1.241c1.339-.964 2.374-2.565 2.374-5.009s-1.035-4.045-2.374-5.009C18.575 8.555 17.036 8.25 16 8.25H4.56l4.97-4.97a.75.75 0 0 0 0-1.06"/></svg> </template>
CSS
.icon-undo-24 {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9.53%202.22a.75.75%200%200%200-1.06%200L2.22%208.47a.75.75%200%200%200%200%201.06l6.25%206.25a.75.75%200%200%200%201.06-1.06L4.56%209.75H16c.797%200%202.008.245%203%20.959c.952.686%201.75%201.835%201.75%203.791s-.798%203.105-1.75%203.791c-.992.714-2.203.959-3%20.959h-3a.75.75%200%200%200%200%201.5h3c1.037%200%202.575-.305%203.876-1.241c1.339-.964%202.374-2.565%202.374-5.009s-1.035-4.045-2.374-5.009C18.575%208.555%2017.036%208.25%2016%208.25H4.56l4.97-4.97a.75.75%200%200%200%200-1.06%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9.53%202.22a.75.75%200%200%200-1.06%200L2.22%208.47a.75.75%200%200%200%200%201.06l6.25%206.25a.75.75%200%200%200%201.06-1.06L4.56%209.75H16c.797%200%202.008.245%203%20.959c.952.686%201.75%201.835%201.75%203.791s-.798%203.105-1.75%203.791c-.992.714-2.203.959-3%20.959h-3a.75.75%200%200%200%200%201.5h3c1.037%200%202.575-.305%203.876-1.241c1.339-.964%202.374-2.565%202.374-5.009s-1.035-4.045-2.374-5.009C18.575%208.555%2017.036%208.25%2016%208.25H4.56l4.97-4.97a.75.75%200%200%200%200-1.06%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/octicon/undo-24.svg?color=%231a73e8&size=48