diamond icon
diamond-fill from Phosphor by Phosphor Icons · Fill · MIT Free for personal and commercial use.
- Name
- diamond-fill
- Set
- Phosphor
- Style
- Fill
- 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="M240 128a15.85 15.85 0 0 1-4.67 11.28l-96.05 96.06a16 16 0 0 1-22.56 0l-96-96.06a16 16 0 0 1 0-22.56l96.05-96.06a16 16 0 0 1 22.56 0l96.05 96.06A15.85 15.85 0 0 1 240 128"/></svg>
React
import type { SVGProps } from "react";
export function PhDiamondFill(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="M240 128a15.85 15.85 0 0 1-4.67 11.28l-96.05 96.06a16 16 0 0 1-22.56 0l-96-96.06a16 16 0 0 1 0-22.56l96.05-96.06a16 16 0 0 1 22.56 0l96.05 96.06A15.85 15.85 0 0 1 240 128"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M240 128a15.85 15.85 0 0 1-4.67 11.28l-96.05 96.06a16 16 0 0 1-22.56 0l-96-96.06a16 16 0 0 1 0-22.56l96.05-96.06a16 16 0 0 1 22.56 0l96.05 96.06A15.85 15.85 0 0 1 240 128"/></svg> </template>
CSS
.icon-diamond-fill {
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%22M240%20128a15.85%2015.85%200%200%201-4.67%2011.28l-96.05%2096.06a16%2016%200%200%201-22.56%200l-96-96.06a16%2016%200%200%201%200-22.56l96.05-96.06a16%2016%200%200%201%2022.56%200l96.05%2096.06A15.85%2015.85%200%200%201%20240%20128%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%22M240%20128a15.85%2015.85%200%200%201-4.67%2011.28l-96.05%2096.06a16%2016%200%200%201-22.56%200l-96-96.06a16%2016%200%200%201%200-22.56l96.05-96.06a16%2016%200%200%201%2022.56%200l96.05%2096.06A15.85%2015.85%200%200%201%20240%20128%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/ph/diamond-fill.svg?color=%231a73e8&size=48