heart icon
heart-24 from Fluent UI System Color Icons by Microsoft Corporation · 24 · MIT Free for personal and commercial use.
- Name
- heart-24
- Set
- Fluent UI System Color Icons
- Style
- 24
- Viewbox
- 24×24
- License
- MIT
5 other variants in Fluent UI System Color Icons
The same icon in other sets
heartAkar Iconsheart-filledAnt Design IconsheartBootstrap IconsheartBoxIcons v2heartBoxIcons v2 SolidheartCodiconsheart-fillEva IconsheartFramework7 IconsheartFont Awesome 6 RegularheartFont Awesome 6 SolidheartFont Awesome RegularheartFont Awesome SolidheartFeather Iconsheart-outlineFlowbite Iconsheart-12-filledFluent UI System Iconsheartcss.ggheartHealth IconsheartHeroIconsheartHuge IconsheartHumbleiconsheartIconParkheartIconPark OutlineheartIconoirheartIonIcons
Use the heart icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path fill="url(#SVGifi64dEB1)" d="m12.82 5.58l-.821.822l-.823-.823a5.375 5.375 0 0 0-7.602 7.601l7.896 7.896a.75.75 0 0 0 1.06 0l7.902-7.897a5.38 5.38 0 0 0-7.612-7.6"/><defs><linearGradient id="SVGifi64dEB1" x1="-2.376" x2="8.135" y1="-.938" y2="21.378" gradientUnits="userSpaceOnUse"><stop stop-color="#f97dbd"/><stop offset="1" stop-color="#d7257d"/></linearGradient></defs></g></svg>
React
import type { SVGProps } from "react";
export function FluentColorHeart24(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path fill="url(#SVGifi64dEB1)" d="m12.82 5.58l-.821.822l-.823-.823a5.375 5.375 0 0 0-7.602 7.601l7.896 7.896a.75.75 0 0 0 1.06 0l7.902-7.897a5.38 5.38 0 0 0-7.612-7.6"/><defs><linearGradient id="SVGifi64dEB1" x1="-2.376" x2="8.135" y1="-.938" y2="21.378" gradientUnits="userSpaceOnUse"><stop stopColor="#f97dbd"/><stop offset="1" stopColor="#d7257d"/></linearGradient></defs></g></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path fill="url(#SVGifi64dEB1)" d="m12.82 5.58l-.821.822l-.823-.823a5.375 5.375 0 0 0-7.602 7.601l7.896 7.896a.75.75 0 0 0 1.06 0l7.902-7.897a5.38 5.38 0 0 0-7.612-7.6"/><defs><linearGradient id="SVGifi64dEB1" x1="-2.376" x2="8.135" y1="-.938" y2="21.378" gradientUnits="userSpaceOnUse"><stop stop-color="#f97dbd"/><stop offset="1" stop-color="#d7257d"/></linearGradient></defs></g></svg> </template>
CSS
.icon-heart-24 {
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%3Cg%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22url(%23SVGifi64dEB1)%22%20d%3D%22m12.82%205.58l-.821.822l-.823-.823a5.375%205.375%200%200%200-7.602%207.601l7.896%207.896a.75.75%200%200%200%201.06%200l7.902-7.897a5.38%205.38%200%200%200-7.612-7.6%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22SVGifi64dEB1%22%20x1%3D%22-2.376%22%20x2%3D%228.135%22%20y1%3D%22-.938%22%20y2%3D%2221.378%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23f97dbd%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23d7257d%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%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%2024%2024%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22url(%23SVGifi64dEB1)%22%20d%3D%22m12.82%205.58l-.821.822l-.823-.823a5.375%205.375%200%200%200-7.602%207.601l7.896%207.896a.75.75%200%200%200%201.06%200l7.902-7.897a5.38%205.38%200%200%200-7.612-7.6%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22SVGifi64dEB1%22%20x1%3D%22-2.376%22%20x2%3D%228.135%22%20y1%3D%22-.938%22%20y2%3D%2221.378%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23f97dbd%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23d7257d%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/fluent-color/heart-24.svg?color=%231a73e8&size=48