diamond icon
diamond from Phosphor by Phosphor Icons · Regular · MIT Free for personal and commercial use.
- Name
- diamond
- Set
- Phosphor
- Style
- Regular
- Viewbox
- 256×256
- License
- MIT
5 other variants in Phosphor
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 IcondiamondMyna UI Iconsdiamond-16Octiconsdiamond-fillRemix IcondiamondTabler Iconsdiamond-outlineTeenyiconsdiamondUnicons
Use the diamond icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="m235.33 116.72l-96.05-96.06a16 16 0 0 0-22.56 0l-96 96.06a16 16 0 0 0 0 22.56l96.05 96.06a16 16 0 0 0 22.56 0l96.05-96.06a16 16 0 0 0 0-22.56ZM128 224l-96-96l96-96l96 96Z"/></svg>
React
import type { SVGProps } from "react";
export function PhDiamond(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="m235.33 116.72l-96.05-96.06a16 16 0 0 0-22.56 0l-96 96.06a16 16 0 0 0 0 22.56l96.05 96.06a16 16 0 0 0 22.56 0l96.05-96.06a16 16 0 0 0 0-22.56ZM128 224l-96-96l96-96l96 96Z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="m235.33 116.72l-96.05-96.06a16 16 0 0 0-22.56 0l-96 96.06a16 16 0 0 0 0 22.56l96.05 96.06a16 16 0 0 0 22.56 0l96.05-96.06a16 16 0 0 0 0-22.56ZM128 224l-96-96l96-96l96 96Z"/></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%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m235.33%20116.72l-96.05-96.06a16%2016%200%200%200-22.56%200l-96%2096.06a16%2016%200%200%200%200%2022.56l96.05%2096.06a16%2016%200%200%200%2022.56%200l96.05-96.06a16%2016%200%200%200%200-22.56ZM128%20224l-96-96l96-96l96%2096Z%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%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m235.33%20116.72l-96.05-96.06a16%2016%200%200%200-22.56%200l-96%2096.06a16%2016%200%200%200%200%2022.56l96.05%2096.06a16%2016%200%200%200%2022.56%200l96.05-96.06a16%2016%200%200%200%200-22.56ZM128%20224l-96-96l96-96l96%2096Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/ph/diamond.svg?color=%231a73e8&size=48