Gentleface › Actions › pencil-square
pencil-square icon
pencil-squarePencil square: compose, write new, new draft. 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="M3.293 3.293C3.098 3.488 3 3.724 3 4L3 12C3 12.276 3.098 12.512 3.293 12.707C3.488 12.902 3.724 13 4 13L12 13C12.276 13 12.512 12.902 12.707 12.707C12.902 12.512 13 12.276 13 12L13 7.5C13 7.359 13.048 7.241 13.144 7.144C13.241 7.048 13.359 7 13.5 7C13.641 7 13.759 7.048 13.856 7.144C13.952 7.241 14 7.359 14 7.5L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L8.5 2C8.641 2 8.759 2.048 8.856 2.144C8.952 2.241 9 2.359 9 2.5C9 2.641 8.952 2.759 8.856 2.856C8.759 2.952 8.641 3 8.5 3L4 3C3.724 3 3.488 3.098 3.293 3.293ZM10.793 2.5C10.988 2.305 11.224 2.207 11.5 2.207C11.776 2.207 12.012 2.305 12.207 2.5L13.5 3.793C13.695 3.988 13.793 4.224 13.793 4.5C13.793 4.776 13.695 5.012 13.5 5.207L10.561 8.146C10.051 8.656 9.474 9.072 8.829 9.394L5.724 10.947C5.6 11.009 5.473 11.018 5.342 10.974C5.211 10.931 5.115 10.847 5.053 10.724C4.978 10.575 4.978 10.425 5.053 10.276L6.606 7.171C6.928 6.526 7.344 5.949 7.854 5.439L10.793 2.5ZM12.793 4.5L11.5 3.207L8.561 6.146C8.442 6.265 8.329 6.388 8.223 6.515L9.485 7.777C9.612 7.671 9.735 7.558 9.854 7.439L12.793 4.5ZM8.65 8.357L7.643 7.35C7.593 7.438 7.545 7.527 7.5 7.618L6.618 9.382L8.382 8.5C8.473 8.455 8.562 8.407 8.65 8.357Z"/></svg>
// Gentleface "pencil-square" (line-round), MIT. https://gentleface.com/icons/pencil-square
import type { SVGProps } from 'react';
export function PencilSquareIcon(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.293 3.293C3.098 3.488 3 3.724 3 4L3 12C3 12.276 3.098 12.512 3.293 12.707C3.488 12.902 3.724 13 4 13L12 13C12.276 13 12.512 12.902 12.707 12.707C12.902 12.512 13 12.276 13 12L13 7.5C13 7.359 13.048 7.241 13.144 7.144C13.241 7.048 13.359 7 13.5 7C13.641 7 13.759 7.048 13.856 7.144C13.952 7.241 14 7.359 14 7.5L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L8.5 2C8.641 2 8.759 2.048 8.856 2.144C8.952 2.241 9 2.359 9 2.5C9 2.641 8.952 2.759 8.856 2.856C8.759 2.952 8.641 3 8.5 3L4 3C3.724 3 3.488 3.098 3.293 3.293ZM10.793 2.5C10.988 2.305 11.224 2.207 11.5 2.207C11.776 2.207 12.012 2.305 12.207 2.5L13.5 3.793C13.695 3.988 13.793 4.224 13.793 4.5C13.793 4.776 13.695 5.012 13.5 5.207L10.561 8.146C10.051 8.656 9.474 9.072 8.829 9.394L5.724 10.947C5.6 11.009 5.473 11.018 5.342 10.974C5.211 10.931 5.115 10.847 5.053 10.724C4.978 10.575 4.978 10.425 5.053 10.276L6.606 7.171C6.928 6.526 7.344 5.949 7.854 5.439L10.793 2.5ZM12.793 4.5L11.5 3.207L8.561 6.146C8.442 6.265 8.329 6.388 8.223 6.515L9.485 7.777C9.612 7.671 9.735 7.558 9.854 7.439L12.793 4.5ZM8.65 8.357L7.643 7.35C7.593 7.438 7.545 7.527 7.5 7.618L6.618 9.382L8.382 8.5C8.473 8.455 8.562 8.407 8.65 8.357Z" />
</svg>
);
}Vue: see /icons/pencil-square.md
Svelte: see /icons/pencil-square.md
HTML img: see /icons/pencil-square.md
CSS: see /icons/pencil-square.md
Data URL: see /icons/pencil-square.md
Sprite: see /icons/pencil-square.md
SwiftUI: see /icons/pencil-square.md
Compose: see /icons/pencil-square.md
Android XML: see /icons/pencil-square.md
Flutter: see /icons/pencil-square.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
- compose, write new, new draft
- Alternatives
message-plus: a new chat message or commentmail-plus: a new email
- Also fits
- edit: compose something new
- write: compose a new message, post or document
- mail draft: compose a new message (pencil-square owns compose)
- new email: compose in the pencil convention (pencil-square owns compose)
- new message: compose in the pencil convention (pencil-square owns compose)
- Tags
- pencil, square, compose, write, new, edit, note
- Category
- Actions
- Component name
PencilSquareIcon- History
- added
Family 6
More actions icons
arrow-down-a-z ban bolt bolt-off check check-double clipboard clipboard-alert clipboard-check clipboard-clock clipboard-list clipboard-off clipboard-pencil clipboard-plus clipboard-search clipboard-user · all actions icons
For agents
Metadata: /icons/pencil-square.json · Markdown: /icons/pencil-square.md · SVG: https://gentleface.com/svg/{style}/16/pencil-square.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/pencil-square.png