octagon icon

octagon-fill from Phosphor by Phosphor Icons · Fill · MIT Free for personal and commercial use.

Name
octagon-fill
Set
Phosphor
Style
Fill
Viewbox
256×256
License
MIT

5 other variants in Phosphor

The same icon in other sets

Use the octagon icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="m227.31 80.23l-51.54-51.54A16.13 16.13 0 0 0 164.45 24h-72.9a16.13 16.13 0 0 0-11.32 4.69L28.69 80.23A16.13 16.13 0 0 0 24 91.55v72.9a16.13 16.13 0 0 0 4.69 11.32l51.54 51.54A16.13 16.13 0 0 0 91.55 232h72.9a16.13 16.13 0 0 0 11.32-4.69l51.54-51.54a16.13 16.13 0 0 0 4.69-11.32v-72.9a16.13 16.13 0 0 0-4.69-11.32"/></svg>

React

import type { SVGProps } from "react";

export function PhOctagonFill(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="m227.31 80.23l-51.54-51.54A16.13 16.13 0 0 0 164.45 24h-72.9a16.13 16.13 0 0 0-11.32 4.69L28.69 80.23A16.13 16.13 0 0 0 24 91.55v72.9a16.13 16.13 0 0 0 4.69 11.32l51.54 51.54A16.13 16.13 0 0 0 91.55 232h72.9a16.13 16.13 0 0 0 11.32-4.69l51.54-51.54a16.13 16.13 0 0 0 4.69-11.32v-72.9a16.13 16.13 0 0 0-4.69-11.32"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="m227.31 80.23l-51.54-51.54A16.13 16.13 0 0 0 164.45 24h-72.9a16.13 16.13 0 0 0-11.32 4.69L28.69 80.23A16.13 16.13 0 0 0 24 91.55v72.9a16.13 16.13 0 0 0 4.69 11.32l51.54 51.54A16.13 16.13 0 0 0 91.55 232h72.9a16.13 16.13 0 0 0 11.32-4.69l51.54-51.54a16.13 16.13 0 0 0 4.69-11.32v-72.9a16.13 16.13 0 0 0-4.69-11.32"/></svg>
</template>

CSS

.icon-octagon-fill {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m227.31%2080.23l-51.54-51.54A16.13%2016.13%200%200%200%20164.45%2024h-72.9a16.13%2016.13%200%200%200-11.32%204.69L28.69%2080.23A16.13%2016.13%200%200%200%2024%2091.55v72.9a16.13%2016.13%200%200%200%204.69%2011.32l51.54%2051.54A16.13%2016.13%200%200%200%2091.55%20232h72.9a16.13%2016.13%200%200%200%2011.32-4.69l51.54-51.54a16.13%2016.13%200%200%200%204.69-11.32v-72.9a16.13%2016.13%200%200%200-4.69-11.32%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m227.31%2080.23l-51.54-51.54A16.13%2016.13%200%200%200%20164.45%2024h-72.9a16.13%2016.13%200%200%200-11.32%204.69L28.69%2080.23A16.13%2016.13%200%200%200%2024%2091.55v72.9a16.13%2016.13%200%200%200%204.69%2011.32l51.54%2051.54A16.13%2016.13%200%200%200%2091.55%20232h72.9a16.13%2016.13%200%200%200%2011.32-4.69l51.54-51.54a16.13%2016.13%200%200%200%204.69-11.32v-72.9a16.13%2016.13%200%200%200-4.69-11.32%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/ph/octagon-fill.svg?color=%231a73e8&size=48