ICONYZ
English
Pentagon icon from andrsrxn/icons

Pentagon icon

andrsrxn:pentagon

The Pentagon icon (andrsrxn:pentagon) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
andrsrxn/icons
Author
Andrés Raxón
License
MIT
Size
24 × 24
Category
Design
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M9.6 3.8c1.16-.87 1.73-1.3 2.4-1.3s1.24.43 2.4 1.3l2.77 2.08l2.84 2c1.18.83 1.77 1.24 1.98 1.88s-.03 1.31-.5 2.68l-1.12 3.28l-1.02 3.31c-.43 1.38-.64 2.07-1.18 2.46s-1.26.39-2.7.36L12 21.8l-3.47.05c-1.44.03-2.16.04-2.7-.36s-.75-1.08-1.18-2.46l-1.02-3.31l-1.12-3.28c-.47-1.37-.7-2.05-.5-2.68c.21-.64.8-1.05 1.98-1.89l2.84-1.99z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M8.4 4.46c1.73-1.3 2.6-1.95 3.6-1.95s1.87.65 3.6 1.95l1.68 1.27L19 6.93c1.78 1.25 2.66 1.88 2.97 2.83s-.04 1.98-.74 4.03l-.68 1.99l-.62 2c-.64 2.08-.96 3.12-1.77 3.7c-.8.6-1.89.57-4.06.54L12 22l-2.1.03c-2.17.03-3.25.05-4.06-.54c-.81-.58-1.13-1.62-1.77-3.7l-.62-2l-.68-2c-.7-2.04-1.05-3.07-.74-4.02c.3-.95 1.2-1.58 2.97-2.82l1.72-1.21z"/></g></svg>

How to use the Pentagon icon

React

import { Icon } from "@iconify/react";

<Icon icon="andrsrxn:pentagon" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="andrsrxn:pentagon" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="andrsrxn:pentagon" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--pentagon]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:pentagon"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="andrsrxn:pentagon"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/andrsrxn/pentagon.svg" alt="Pentagon icon" width="24" height="24">

Pentagon icon in other icon sets

Pentagon icon FAQ

Is the Pentagon icon free for commercial use?

Yes. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Pentagon icon in React?

Install @iconify/react and render <Icon icon="andrsrxn:pentagon" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Pentagon icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/andrsrxn/pentagon.svg" alt="Pentagon icon">, or paste the SVG code inline to style it with CSS.

Browse all andrsrxn/icons →