diamond from BoxIcons v2 Solid by Boxicons · Solid · MIT Free for personal and commercial use.

Name
diamond
Set
BoxIcons v2 Solid
Style
Solid
Viewbox
24×24
License
MIT

The same icon in other sets

Use the diamond icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M16.445 3h-8.89c-.345 0-.666.178-.849.47L3.25 9h17.5l-3.456-5.53a1 1 0 0 0-.849-.47M11.26 21.186a1 1 0 0 0 1.48 0L22 11H2z"/></svg>

React

import type { SVGProps } from "react";

export function BxsDiamond(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M16.445 3h-8.89c-.345 0-.666.178-.849.47L3.25 9h17.5l-3.456-5.53a1 1 0 0 0-.849-.47M11.26 21.186a1 1 0 0 0 1.48 0L22 11H2z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M16.445 3h-8.89c-.345 0-.666.178-.849.47L3.25 9h17.5l-3.456-5.53a1 1 0 0 0-.849-.47M11.26 21.186a1 1 0 0 0 1.48 0L22 11H2z"/></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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M16.445%203h-8.89c-.345%200-.666.178-.849.47L3.25%209h17.5l-3.456-5.53a1%201%200%200%200-.849-.47M11.26%2021.186a1%201%200%200%200%201.48%200L22%2011H2z%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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M16.445%203h-8.89c-.345%200-.666.178-.849.47L3.25%209h17.5l-3.456-5.53a1%201%200%200%200-.849-.47M11.26%2021.186a1%201%200%200%200%201.48%200L22%2011H2z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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