Gentleface › Actions › pencil-x
pencil-x icon
pencil-xPencil x: reject edit, cancel edit, discard edits. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
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="M4.854 8.439L10.146 3.146C10.319 2.974 10.516 2.84 10.74 2.743C10.982 2.638 11.236 2.586 11.5 2.586C11.764 2.586 12.018 2.638 12.26 2.743C12.484 2.84 12.681 2.974 12.854 3.146C13.026 3.319 13.16 3.516 13.257 3.74C13.362 3.982 13.414 4.236 13.414 4.5C13.414 4.764 13.362 5.018 13.257 5.26C13.16 5.484 13.026 5.681 12.854 5.854L12.687 6.02C12.652 6.055 12.616 6.083 12.577 6.106C12.38 6.066 12.181 6.038 11.98 6.021C11.882 5.923 11.833 5.805 11.833 5.667C11.833 5.529 11.882 5.411 11.98 5.313L12.146 5.146C12.325 4.968 12.414 4.752 12.414 4.5C12.414 4.248 12.325 4.032 12.146 3.854C11.968 3.675 11.752 3.586 11.5 3.586C11.248 3.586 11.032 3.675 10.854 3.854L5.561 9.146C5.442 9.265 5.329 9.388 5.223 9.515L6.02 10.313C6.055 10.348 6.083 10.384 6.106 10.423C6.066 10.62 6.038 10.819 6.021 11.02L6.02 11.02C5.923 11.118 5.805 11.167 5.667 11.167C5.529 11.167 5.411 11.118 5.313 11.02L4.643 10.35C4.593 10.438 4.545 10.527 4.5 10.618L3.618 12.382L5.34 11.521C5.466 11.458 5.594 11.448 5.723 11.491C5.848 11.532 5.942 11.613 6.005 11.732C6.01 11.867 6.021 12 6.036 12.133C5.992 12.261 5.909 12.355 5.788 12.415L2.724 13.947C2.598 14.01 2.47 14.02 2.341 13.977C2.212 13.934 2.116 13.85 2.053 13.724C1.978 13.575 1.978 13.425 2.053 13.276L3.606 10.171C3.928 9.526 4.344 8.949 4.854 8.439ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9.146 9.146C8.951 9.342 8.951 9.658 9.146 9.854L10.793 11.5L9.146 13.146C8.951 13.342 8.951 13.658 9.146 13.854C9.342 14.049 9.658 14.049 9.854 13.854L11.5 12.207L13.146 13.854C13.342 14.049 13.658 14.049 13.854 13.854C14.049 13.658 14.049 13.342 13.854 13.146L12.207 11.5L13.854 9.854C14.049 9.658 14.049 9.342 13.854 9.146C13.658 8.951 13.342 8.951 13.146 9.146L11.5 10.793L9.854 9.146C9.658 8.951 9.342 8.951 9.146 9.146Z"/></svg>
// Gentleface "pencil-x" (line-round), MIT. https://gentleface.com/icons/pencil-x
import type { SVGProps } from 'react';
export function PencilXIcon(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="M4.854 8.439L10.146 3.146C10.319 2.974 10.516 2.84 10.74 2.743C10.982 2.638 11.236 2.586 11.5 2.586C11.764 2.586 12.018 2.638 12.26 2.743C12.484 2.84 12.681 2.974 12.854 3.146C13.026 3.319 13.16 3.516 13.257 3.74C13.362 3.982 13.414 4.236 13.414 4.5C13.414 4.764 13.362 5.018 13.257 5.26C13.16 5.484 13.026 5.681 12.854 5.854L12.687 6.02C12.652 6.055 12.616 6.083 12.577 6.106C12.38 6.066 12.181 6.038 11.98 6.021C11.882 5.923 11.833 5.805 11.833 5.667C11.833 5.529 11.882 5.411 11.98 5.313L12.146 5.146C12.325 4.968 12.414 4.752 12.414 4.5C12.414 4.248 12.325 4.032 12.146 3.854C11.968 3.675 11.752 3.586 11.5 3.586C11.248 3.586 11.032 3.675 10.854 3.854L5.561 9.146C5.442 9.265 5.329 9.388 5.223 9.515L6.02 10.313C6.055 10.348 6.083 10.384 6.106 10.423C6.066 10.62 6.038 10.819 6.021 11.02L6.02 11.02C5.923 11.118 5.805 11.167 5.667 11.167C5.529 11.167 5.411 11.118 5.313 11.02L4.643 10.35C4.593 10.438 4.545 10.527 4.5 10.618L3.618 12.382L5.34 11.521C5.466 11.458 5.594 11.448 5.723 11.491C5.848 11.532 5.942 11.613 6.005 11.732C6.01 11.867 6.021 12 6.036 12.133C5.992 12.261 5.909 12.355 5.788 12.415L2.724 13.947C2.598 14.01 2.47 14.02 2.341 13.977C2.212 13.934 2.116 13.85 2.053 13.724C1.978 13.575 1.978 13.425 2.053 13.276L3.606 10.171C3.928 9.526 4.344 8.949 4.854 8.439ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9.146 9.146C8.951 9.342 8.951 9.658 9.146 9.854L10.793 11.5L9.146 13.146C8.951 13.342 8.951 13.658 9.146 13.854C9.342 14.049 9.658 14.049 9.854 13.854L11.5 12.207L13.146 13.854C13.342 14.049 13.658 14.049 13.854 13.854C14.049 13.658 14.049 13.342 13.854 13.146L12.207 11.5L13.854 9.854C14.049 9.658 14.049 9.342 13.854 9.146C13.658 8.951 13.342 8.951 13.146 9.146L11.5 10.793L9.854 9.146C9.658 8.951 9.342 8.951 9.146 9.146Z" />
</svg>
);
}Vue: see /icons/pencil-x.md
Svelte: see /icons/pencil-x.md
HTML img: see /icons/pencil-x.md
CSS: see /icons/pencil-x.md
Data URL: see /icons/pencil-x.md
Sprite: see /icons/pencil-x.md
SwiftUI: see /icons/pencil-x.md
Compose: see /icons/pencil-x.md
Android XML: see /icons/pencil-x.md
Flutter: see /icons/pencil-x.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 { PencilXIcon } from '@gentleface/react'; (setup).
Meaning
Family 10
More actions icons
actual-size arrow-down-1-9 arrow-down-a-z arrow-down-clock arrow-down-z-a arrow-up-clock ban bolt bolt-alert bolt-check bolt-clock bolt-gear bolt-off bolt-pencil bolt-play bolt-plus · all actions icons
For agents
Metadata: /icons/pencil-x.json · Markdown: /icons/pencil-x.md · SVG: https://gentleface.com/svg/{style}/16/pencil-x.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/pencil-x.png