gentleface

Gentleface › Shapes › icosahedron

icosahedron icon

Icosahedron: icosahedron, d20, polyhedral dice, rpg dice. 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="M13.851 11.717C13.751 11.878 13.617 12.001 13.447 12.085L8.618 14.5C8.266 14.676 7.893 14.764 7.5 14.764C7.107 14.764 6.734 14.676 6.382 14.5L1.553 12.085C1.383 12.001 1.249 11.878 1.149 11.717C1.05 11.556 1 11.38 1 11.191L1 4.809C1 4.62 1.05 4.444 1.149 4.283C1.249 4.122 1.383 3.999 1.553 3.915L6.382 1.5C6.597 1.392 6.82 1.318 7.051 1.276L7.066 1.273C7.208 1.248 7.352 1.236 7.5 1.236C7.653 1.236 7.802 1.249 7.949 1.276C8.18 1.318 8.403 1.392 8.618 1.5L13.447 3.915C13.617 3.999 13.751 4.122 13.851 4.283C13.95 4.444 14 4.62 14 4.809L14 11.191C14 11.38 13.95 11.556 13.851 11.717ZM5.383 6L9.617 6L7.5 2.472L5.383 6ZM4.341 5.793L6.188 2.715L2.494 4.562L4.341 5.793ZM12.506 4.562L8.812 2.715L10.659 5.793L12.506 4.562ZM2 5.434L2 9.695L3.826 6.652L2 5.434ZM13 9.695L13 5.434L11.174 6.652L13 9.695ZM7.5 9.667L9.5 7L5.5 7L7.5 9.667ZM10.454 7.395L8.5 10L12.017 10L10.454 7.395ZM6.5 10L4.546 7.395L2.983 10L6.5 10ZM2.383 11L2.207 11.294L6.829 13.606C6.885 13.634 6.942 13.658 7 13.679L7 11L2.383 11ZM12.793 11.294L12.617 11L8 11L8 13.679C8.058 13.658 8.115 13.634 8.171 13.606L12.793 11.294Z"/></svg>
React
// Gentleface "icosahedron" (line-round), MIT. https://gentleface.com/icons/icosahedron
import type { SVGProps } from 'react';

export function IcosahedronIcon(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="M13.851 11.717C13.751 11.878 13.617 12.001 13.447 12.085L8.618 14.5C8.266 14.676 7.893 14.764 7.5 14.764C7.107 14.764 6.734 14.676 6.382 14.5L1.553 12.085C1.383 12.001 1.249 11.878 1.149 11.717C1.05 11.556 1 11.38 1 11.191L1 4.809C1 4.62 1.05 4.444 1.149 4.283C1.249 4.122 1.383 3.999 1.553 3.915L6.382 1.5C6.597 1.392 6.82 1.318 7.051 1.276L7.066 1.273C7.208 1.248 7.352 1.236 7.5 1.236C7.653 1.236 7.802 1.249 7.949 1.276C8.18 1.318 8.403 1.392 8.618 1.5L13.447 3.915C13.617 3.999 13.751 4.122 13.851 4.283C13.95 4.444 14 4.62 14 4.809L14 11.191C14 11.38 13.95 11.556 13.851 11.717ZM5.383 6L9.617 6L7.5 2.472L5.383 6ZM4.341 5.793L6.188 2.715L2.494 4.562L4.341 5.793ZM12.506 4.562L8.812 2.715L10.659 5.793L12.506 4.562ZM2 5.434L2 9.695L3.826 6.652L2 5.434ZM13 9.695L13 5.434L11.174 6.652L13 9.695ZM7.5 9.667L9.5 7L5.5 7L7.5 9.667ZM10.454 7.395L8.5 10L12.017 10L10.454 7.395ZM6.5 10L4.546 7.395L2.983 10L6.5 10ZM2.383 11L2.207 11.294L6.829 13.606C6.885 13.634 6.942 13.658 7 13.679L7 11L2.383 11ZM12.793 11.294L12.617 11L8 11L8 13.679C8.058 13.658 8.115 13.634 8.171 13.606L12.793 11.294Z" />
    </svg>
  );
}
Vue
Vue: see /icons/icosahedron.md
Svelte
Svelte: see /icons/icosahedron.md
HTML img
HTML img: see /icons/icosahedron.md
CSS
CSS: see /icons/icosahedron.md
Data URL
Data URL: see /icons/icosahedron.md
Sprite
Sprite: see /icons/icosahedron.md
SwiftUI
SwiftUI: see /icons/icosahedron.md
Compose
Compose: see /icons/icosahedron.md
Android XML
Android XML: see /icons/icosahedron.md
Flutter
Flutter: see /icons/icosahedron.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.

Meaning

Use it for
icosahedron, d20, polyhedral dice, rpg dice
Tags
icosahedron, d20, twenty-sided die, dice, polyhedron, 3d, shape, solid, geometry, tabletop, rpg
Category
Shapes
Component name
IcosahedronIcon
History
  • 20 px drawn, 24 px drawn, added

Family 1

More shapes icons

For agents

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