Gentleface › Social & emotions › star-pencil
star-pencil icon
star-pencilStar pencil: edit rating, edit favorites. 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="M12.148 7L9.347 7C9.138 7 8.948 6.941 8.777 6.822C8.606 6.703 8.483 6.546 8.41 6.351L7.5 3.924L6.59 6.351C6.517 6.546 6.394 6.703 6.223 6.822C6.052 6.941 5.862 7 5.653 7L2.852 7L5.091 8.919C5.235 9.043 5.335 9.194 5.393 9.375C5.45 9.555 5.456 9.737 5.41 9.921L4.814 12.304L6.919 10.801C7.093 10.677 7.286 10.614 7.5 10.614C7.714 10.614 7.907 10.677 8.081 10.801L8.339 10.985C8.451 11.065 8.519 11.173 8.541 11.309C8.563 11.438 8.538 11.555 8.468 11.662C8.466 11.666 8.463 11.67 8.46 11.675C8.458 11.677 8.457 11.68 8.455 11.682C8.375 11.794 8.266 11.862 8.13 11.885C7.994 11.907 7.87 11.879 7.757 11.798L7.5 11.614L4.291 13.907C4.178 13.987 4.054 14.016 3.918 13.993C3.782 13.97 3.673 13.903 3.593 13.791C3.504 13.665 3.478 13.528 3.515 13.379L4.44 9.679L1.175 6.88C1.07 6.79 1.012 6.676 1.001 6.538C0.991 6.401 1.031 6.279 1.12 6.175C1.22 6.058 1.347 6 1.5 6L5.653 6L7.032 2.324C7.08 2.195 7.167 2.102 7.293 2.045C7.419 1.988 7.546 1.983 7.676 2.032C7.817 2.085 7.915 2.183 7.968 2.324L9.347 6L13.5 6C13.641 6 13.759 6.048 13.856 6.144C13.952 6.241 14 6.359 14 6.5C14 6.576 13.986 6.645 13.957 6.707C13.423 6.717 12.966 6.912 12.586 7.293L10.078 9.801C9.993 9.778 9.918 9.733 9.853 9.666C9.757 9.566 9.711 9.447 9.713 9.309C9.716 9.171 9.767 9.054 9.866 8.959C9.88 8.945 9.894 8.932 9.909 8.919L12.148 7ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z"/></svg>
// Gentleface "star-pencil" (line-round), MIT. https://gentleface.com/icons/star-pencil
import type { SVGProps } from 'react';
export function StarPencilIcon(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="M12.148 7L9.347 7C9.138 7 8.948 6.941 8.777 6.822C8.606 6.703 8.483 6.546 8.41 6.351L7.5 3.924L6.59 6.351C6.517 6.546 6.394 6.703 6.223 6.822C6.052 6.941 5.862 7 5.653 7L2.852 7L5.091 8.919C5.235 9.043 5.335 9.194 5.393 9.375C5.45 9.555 5.456 9.737 5.41 9.921L4.814 12.304L6.919 10.801C7.093 10.677 7.286 10.614 7.5 10.614C7.714 10.614 7.907 10.677 8.081 10.801L8.339 10.985C8.451 11.065 8.519 11.173 8.541 11.309C8.563 11.438 8.538 11.555 8.468 11.662C8.466 11.666 8.463 11.67 8.46 11.675C8.458 11.677 8.457 11.68 8.455 11.682C8.375 11.794 8.266 11.862 8.13 11.885C7.994 11.907 7.87 11.879 7.757 11.798L7.5 11.614L4.291 13.907C4.178 13.987 4.054 14.016 3.918 13.993C3.782 13.97 3.673 13.903 3.593 13.791C3.504 13.665 3.478 13.528 3.515 13.379L4.44 9.679L1.175 6.88C1.07 6.79 1.012 6.676 1.001 6.538C0.991 6.401 1.031 6.279 1.12 6.175C1.22 6.058 1.347 6 1.5 6L5.653 6L7.032 2.324C7.08 2.195 7.167 2.102 7.293 2.045C7.419 1.988 7.546 1.983 7.676 2.032C7.817 2.085 7.915 2.183 7.968 2.324L9.347 6L13.5 6C13.641 6 13.759 6.048 13.856 6.144C13.952 6.241 14 6.359 14 6.5C14 6.576 13.986 6.645 13.957 6.707C13.423 6.717 12.966 6.912 12.586 7.293L10.078 9.801C9.993 9.778 9.918 9.733 9.853 9.666C9.757 9.566 9.711 9.447 9.713 9.309C9.716 9.171 9.767 9.054 9.866 8.959C9.88 8.945 9.894 8.932 9.909 8.919L12.148 7ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z" />
</svg>
);
}Vue: see /icons/star-pencil.md
Svelte: see /icons/star-pencil.md
HTML img: see /icons/star-pencil.md
CSS: see /icons/star-pencil.md
Data URL: see /icons/star-pencil.md
Sprite: see /icons/star-pencil.md
SwiftUI: see /icons/star-pencil.md
Compose: see /icons/star-pencil.md
Android XML: see /icons/star-pencil.md
Flutter: see /icons/star-pencil.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 { StarPencilIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- edit rating, edit favorites
- Example
- Change your rating
- Built from
star+ pencil- Tags
- favourite, rate, bookmark, starred, pencil
- Category
- Social & emotions
- Component name
StarPencilIcon- History
- added, released in 0.4.0
- Since
- version 0.4.0
Family 4
More social & emotions icons
balloon bookmark bookmark-alert bookmark-check bookmark-heart bookmark-link bookmark-off bookmark-pencil bookmark-plus bookmark-search bookmark-star bookmark-sync bookmark-tag bookmark-x bookmarks circle-fading-plus · all social & emotions icons
For agents
Metadata: /icons/star-pencil.json · Markdown: /icons/star-pencil.md · SVG: https://gentleface.com/svg/{style}/16/star-pencil.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/star-pencil.png