ICONYZ
English
Diamond icon from Maki

Diamond icon

maki:diamond

The Diamond icon (maki:diamond) is a free SVG icon from the Maki set by Mapbox. It is drawn on a 15 × 15 grid. Maki icons are released under the CC0 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
Maki
Author
Mapbox
License
CC0-1.0
Size
15 × 15
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M7.037 1.201L2.125 6.7a.48.48 0 0 0-.124.3q-.008.165.096.3l4.91 6.46c.055.074.13.135.215.177a.64.64 0 0 0 .556 0a.6.6 0 0 0 .216-.177l4.91-6.46a.45.45 0 0 0 .095-.3a.48.48 0 0 0-.124-.3L7.963 1.201a.6.6 0 0 0-.208-.148a.64.64 0 0 0-.718.148"/></svg>

How to use the Diamond icon

React

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

<Icon icon="maki:diamond" width="24" />

Vue

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

<template>
  <Icon icon="maki:diamond" width="24" />
</template>

Svelte

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

<Icon icon="maki:diamond" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="maki:diamond"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/maki/diamond.svg" alt="Diamond icon" width="24" height="24">

Diamond icon in other icon sets

Diamond icon FAQ

Is the Diamond icon free for commercial use?

Yes. Maki icons are released under the CC0 license, which allows use in personal and commercial projects.

How do I use the Diamond icon in React?

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

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

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

Browse all Maki icons →