Gentleface › Arrows › undo
undo icon
undoUndo: undo, revert, step back, revert changes. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed. Part of the free toolbar icon set.
Animated undo-return · line-round
The line runs into the arrowhead. The head then sets off from the free end, rides back round the hook, laying the line behind it, and overshoots.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.2 s to 1.9 s. Examples and helper.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M3.707 5L9 5C9.509 5 9.999 5.094 10.472 5.281C10.986 5.484 11.438 5.781 11.828 6.172C12.219 6.562 12.516 7.014 12.719 7.528C12.906 8.001 13 8.491 13 9C13 9.509 12.906 9.999 12.719 10.472C12.516 10.986 12.219 11.438 11.828 11.828C11.438 12.219 10.986 12.516 10.472 12.719C9.999 12.906 9.509 13 9 13L5.5 13C5.359 13 5.241 12.952 5.144 12.856C5.048 12.759 5 12.641 5 12.5C5 12.359 5.048 12.241 5.144 12.144C5.241 12.048 5.359 12 5.5 12L9 12C9.381 12 9.75 11.93 10.104 11.789C10.489 11.637 10.828 11.414 11.121 11.121C11.414 10.828 11.637 10.489 11.789 10.104C11.93 9.75 12 9.381 12 9C12 8.619 11.93 8.25 11.789 7.896C11.637 7.511 11.414 7.172 11.121 6.879C10.828 6.586 10.489 6.363 10.104 6.211C9.75 6.07 9.381 6 9 6L3.707 6L5.854 8.146C5.953 8.246 6.003 8.364 6.003 8.5C6.003 8.636 5.953 8.754 5.854 8.854C5.756 8.951 5.638 9 5.5 9C5.362 9 5.244 8.951 5.146 8.854L2.146 5.854C2.049 5.756 2 5.638 2 5.5C2 5.362 2.049 5.244 2.146 5.146L5.146 2.146C5.244 2.049 5.362 2 5.5 2C5.638 2 5.756 2.049 5.854 2.146C5.951 2.244 6 2.362 6 2.5C6 2.638 5.951 2.756 5.854 2.854L3.707 5Z"/></svg>
// Gentleface "undo" (line-round), MIT. https://gentleface.com/icons/undo
import type { SVGProps } from 'react';
export function UndoIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M3.707 5L9 5C9.509 5 9.999 5.094 10.472 5.281C10.986 5.484 11.438 5.781 11.828 6.172C12.219 6.562 12.516 7.014 12.719 7.528C12.906 8.001 13 8.491 13 9C13 9.509 12.906 9.999 12.719 10.472C12.516 10.986 12.219 11.438 11.828 11.828C11.438 12.219 10.986 12.516 10.472 12.719C9.999 12.906 9.509 13 9 13L5.5 13C5.359 13 5.241 12.952 5.144 12.856C5.048 12.759 5 12.641 5 12.5C5 12.359 5.048 12.241 5.144 12.144C5.241 12.048 5.359 12 5.5 12L9 12C9.381 12 9.75 11.93 10.104 11.789C10.489 11.637 10.828 11.414 11.121 11.121C11.414 10.828 11.637 10.489 11.789 10.104C11.93 9.75 12 9.381 12 9C12 8.619 11.93 8.25 11.789 7.896C11.637 7.511 11.414 7.172 11.121 6.879C10.828 6.586 10.489 6.363 10.104 6.211C9.75 6.07 9.381 6 9 6L3.707 6L5.854 8.146C5.953 8.246 6.003 8.364 6.003 8.5C6.003 8.636 5.953 8.754 5.854 8.854C5.756 8.951 5.638 9 5.5 9C5.362 9 5.244 8.951 5.146 8.854L2.146 5.854C2.049 5.756 2 5.638 2 5.5C2 5.362 2.049 5.244 2.146 5.146L5.146 2.146C5.244 2.049 5.362 2 5.5 2C5.638 2 5.756 2.049 5.854 2.146C5.951 2.244 6 2.362 6 2.5C6 2.638 5.951 2.756 5.854 2.854L3.707 5Z" />
</svg>
);
}Vue: see /icons/undo.md
Svelte: see /icons/undo.md
HTML img: see /icons/undo.md
CSS: see /icons/undo.md
Data URL: see /icons/undo.md
Sprite: see /icons/undo.md
SwiftUI: see /icons/undo.md
Compose: see /icons/undo.md
Android XML: see /icons/undo.md
Flutter: see /icons/undo.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
With npm: import { UndoIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- undo, revert, step back, revert changes, undo action, reset, reopen, reopen ticket
- Alternatives
history: restore an older version from the version history (version-history)arrow-left: navigate back to the previous screen (back)
- Don’t confuse with
rotate-ccw: rotate-ccw turns an object counterclockwise (rotate-counterclockwise)
- Also fits
- restore from trash: undo the last delete right after it
- Not for
- back (use
arrow-left): undo reverts the last edit; back returns to the previous screen - reply (use
reply): undo reverts the last action; it is not a reply - rotate counterclockwise (use
rotate-ccw): the curved arrow means undo - history (use
history): undo reverts one step; it is not a history list
- back (use
- Tags
- undo, back, revert, u-turn
- Category
- Arrows
- Component name
UndoIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
Family 49
More arrows icons
arrows-out chevron-down chevron-down-circle chevron-down-square chevron-down-triangle chevron-left chevron-left-circle chevron-left-square chevron-left-to-line chevron-left-triangle chevron-right chevron-right-circle chevron-right-square chevron-right-to-line chevron-right-triangle chevron-up · all arrows icons
For agents
Metadata: /icons/undo.json · Markdown: /icons/undo.md · SVG: https://gentleface.com/svg/{style}/16/undo.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/undo.png