diamond icon

diamond from IconPark by ByteDance · Color · Others · Apache-2.0 Free for personal and commercial use.

Name
diamond
Set
IconPark
Style
Color
Category
Others
Viewbox
48×48
License
Apache 2.0

The same icon in other sets

More others icons from IconPark

Use the diamond icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"><path d="M10.6364 5H37.3636L45 18.3L24 43L3 18.3L10.6364 5Z" clip-rule="evenodd"/><path d="M10.6362 5L23.9999 43L37.3635 5"/><path d="M3 18.3H45"/><path d="M15.4092 18.3L24.0001 5L32.591 18.3"/></g></svg>

React

import type { SVGProps } from "react";

export function IconParkDiamond(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4"><path d="M10.6364 5H37.3636L45 18.3L24 43L3 18.3L10.6364 5Z" clipRule="evenodd"/><path d="M10.6362 5L23.9999 43L37.3635 5"/><path d="M3 18.3H45"/><path d="M15.4092 18.3L24.0001 5L32.591 18.3"/></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"><path d="M10.6364 5H37.3636L45 18.3L24 43L3 18.3L10.6364 5Z" clip-rule="evenodd"/><path d="M10.6362 5L23.9999 43L37.3635 5"/><path d="M3 18.3H45"/><path d="M15.4092 18.3L24.0001 5L32.591 18.3"/></g></svg>
</template>

CSS

.icon-diamond {
  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%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20d%3D%22M10.6364%205H37.3636L45%2018.3L24%2043L3%2018.3L10.6364%205Z%22%20clip-rule%3D%22evenodd%22%2F%3E%3Cpath%20d%3D%22M10.6362%205L23.9999%2043L37.3635%205%22%2F%3E%3Cpath%20d%3D%22M3%2018.3H45%22%2F%3E%3Cpath%20d%3D%22M15.4092%2018.3L24.0001%205L32.591%2018.3%22%2F%3E%3C%2Fg%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%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20d%3D%22M10.6364%205H37.3636L45%2018.3L24%2043L3%2018.3L10.6364%205Z%22%20clip-rule%3D%22evenodd%22%2F%3E%3Cpath%20d%3D%22M10.6362%205L23.9999%2043L37.3635%205%22%2F%3E%3Cpath%20d%3D%22M3%2018.3H45%22%2F%3E%3Cpath%20d%3D%22M15.4092%2018.3L24.0001%205L32.591%2018.3%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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