diamond icon
diamond from Myna UI Icons by Praveen Juge · Regular · MIT Free for personal and commercial use.
- Name
- diamond
- Set
- Myna UI Icons
- Style
- Regular
- Viewbox
- 24×24
- License
- MIT
1 other variant in Myna UI Icons
The same icon in other sets
diamondAkar IconsdiamondBootstrap IconsdiamondBoxIcons v2diamondBoxIcons v2 SoliddiamondFont Awesome 6 SoliddiamondFont Awesome Soliddiamond-12-filledFluent UI System IconsdiamondHuge IconsdiamondIconParkdiamondIconPark OutlinediamondIonIconsdiamondLucidediamondMaterial SymbolsdiamondMaterial Symbols LightdiamondMaterial Design Iconsdiamond-fillMingCute Icondiamond-16OcticonsdiamondPhosphordiamond-fillRemix IcondiamondTabler Iconsdiamond-outlineTeenyiconsdiamondUnicons
Use the diamond icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2.707 10.295a2.41 2.41 0 0 0 0 3.41l7.588 7.588a2.41 2.41 0 0 0 3.41 0l7.588-7.588a2.41 2.41 0 0 0 0-3.41l-7.588-7.588a2.41 2.41 0 0 0-3.41 0z"/></svg>
React
import type { SVGProps } from "react";
export function MynauiDiamond(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M2.707 10.295a2.41 2.41 0 0 0 0 3.41l7.588 7.588a2.41 2.41 0 0 0 3.41 0l7.588-7.588a2.41 2.41 0 0 0 0-3.41l-7.588-7.588a2.41 2.41 0 0 0-3.41 0z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2.707 10.295a2.41 2.41 0 0 0 0 3.41l7.588 7.588a2.41 2.41 0 0 0 3.41 0l7.588-7.588a2.41 2.41 0 0 0 0-3.41l-7.588-7.588a2.41 2.41 0 0 0-3.41 0z"/></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%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%20d%3D%22M2.707%2010.295a2.41%202.41%200%200%200%200%203.41l7.588%207.588a2.41%202.41%200%200%200%203.41%200l7.588-7.588a2.41%202.41%200%200%200%200-3.41l-7.588-7.588a2.41%202.41%200%200%200-3.41%200z%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%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%20d%3D%22M2.707%2010.295a2.41%202.41%200%200%200%200%203.41l7.588%207.588a2.41%202.41%200%200%200%203.41%200l7.588-7.588a2.41%202.41%200%200%200%200-3.41l-7.588-7.588a2.41%202.41%200%200%200-3.41%200z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/mynaui/diamond.svg?color=%231a73e8&size=48