ICONYZ
English
Diamonds icon from IconPark Solid

Diamonds icon

icon-park-solid:diamonds

The Diamonds icon (icon-park-solid:diamonds) is a free SVG icon from the IconPark Solid set by ByteDance. It is drawn on a 48 × 48 grid. IconPark Solid icons are released under the Apache 2.0 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
IconPark Solid
Author
ByteDance
License
Apache-2.0
Size
48 × 48
Category
Clothes
Tags
diamond
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><defs><mask id="SVGqnNeNdqQ"><g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"><path fill="#fff" stroke="#fff" d="M12 8h24l8 10l-20 24L4 18z"/><path stroke="#000" d="M4 18h40M24 42l-8-24m8 24l8-24"/><path stroke="#fff" d="m8 13l-4 5l20 24l20-24l-4-5"/></g></mask></defs><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#SVGqnNeNdqQ)"/></svg>

How to use the Diamonds icon

React

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

<Icon icon="icon-park-solid:diamonds" width="24" />

Vue

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

<template>
  <Icon icon="icon-park-solid:diamonds" width="24" />
</template>

Svelte

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

<Icon icon="icon-park-solid:diamonds" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[icon-park-solid--diamonds]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/icon-park-solid -->
<div class="i-icon-park-solid:diamonds"></div>

Web component

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

<iconify-icon icon="icon-park-solid:diamonds"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/icon-park-solid/diamonds.svg" alt="Diamonds icon" width="24" height="24">

Diamonds icon in other icon sets

Diamonds icon FAQ

Is the Diamonds icon free for commercial use?

Yes. IconPark Solid icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Diamonds icon in React?

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

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

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

Browse all IconPark Solid icons →