gentleface

Gentleface › Arrows › undo

undo icon

Undo: undo, revert, step back, revert changes. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<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>
React
// 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
Vue: see /icons/undo.md
Svelte
Svelte: see /icons/undo.md
HTML img
HTML img: see /icons/undo.md
CSS
CSS: see /icons/undo.md
Data URL
Data URL: see /icons/undo.md
Sprite
Sprite: see /icons/undo.md
SwiftUI
SwiftUI: see /icons/undo.md
Compose
Compose: see /icons/undo.md
Android XML
Android XML: see /icons/undo.md
Flutter
Flutter: see /icons/undo.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. 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.

Meaning

Use it for
undo, revert, step back, revert changes, undo action
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
Tags
undo, back, revert, u-turn
Category
Arrows
Component name
UndoIcon
History
  • added

Family 27

More 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

Feedback