gentleface

Gentleface › Shapes › pentagon

pentagon icon

Pentagon: pentagon. 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="M11.588 13.316C11.52 13.52 11.399 13.685 11.224 13.811C11.05 13.937 10.855 14 10.64 14L4.36 14C4.145 14 3.95 13.937 3.776 13.811C3.601 13.685 3.48 13.52 3.412 13.316L1.14 6.5C1.072 6.296 1.07 6.091 1.134 5.886C1.198 5.68 1.316 5.513 1.488 5.384L6.9 1.325C7.078 1.192 7.278 1.125 7.5 1.125C7.722 1.125 7.922 1.192 8.1 1.325L13.512 5.384C13.684 5.513 13.802 5.68 13.866 5.886C13.93 6.091 13.928 6.296 13.86 6.5L11.588 13.316ZM4.36 13L10.64 13L12.912 6.184L7.5 2.125L2.088 6.184L4.36 13Z"/></svg>
React
// Gentleface "pentagon" (line-round), MIT. https://gentleface.com/icons/pentagon
import type { SVGProps } from 'react';

export function PentagonIcon(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="M11.588 13.316C11.52 13.52 11.399 13.685 11.224 13.811C11.05 13.937 10.855 14 10.64 14L4.36 14C4.145 14 3.95 13.937 3.776 13.811C3.601 13.685 3.48 13.52 3.412 13.316L1.14 6.5C1.072 6.296 1.07 6.091 1.134 5.886C1.198 5.68 1.316 5.513 1.488 5.384L6.9 1.325C7.078 1.192 7.278 1.125 7.5 1.125C7.722 1.125 7.922 1.192 8.1 1.325L13.512 5.384C13.684 5.513 13.802 5.68 13.866 5.886C13.93 6.091 13.928 6.296 13.86 6.5L11.588 13.316ZM4.36 13L10.64 13L12.912 6.184L7.5 2.125L2.088 6.184L4.36 13Z" />
    </svg>
  );
}
Vue
Vue: see /icons/pentagon.md
Svelte
Svelte: see /icons/pentagon.md
HTML img
HTML img: see /icons/pentagon.md
CSS
CSS: see /icons/pentagon.md
Data URL
Data URL: see /icons/pentagon.md
Sprite
Sprite: see /icons/pentagon.md
SwiftUI
SwiftUI: see /icons/pentagon.md
Compose
Compose: see /icons/pentagon.md
Android XML
Android XML: see /icons/pentagon.md
Flutter
Flutter: see /icons/pentagon.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 { PentagonIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
pentagon
Tags
pentagon, shape, polygon, five-sided, geometry
Category
Shapes
Component name
PentagonIcon
History
  • added
  • released in 0.1.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

More shapes icons

For agents

Metadata: /icons/pentagon.json · Markdown: /icons/pentagon.md · SVG: https://gentleface.com/svg/{style}/16/pentagon.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/pentagon.png