heart icon
heart-48 from Fluent UI System Color Icons by Microsoft Corporation · 48 · MIT Free for personal and commercial use.
- Name
- heart-48
- Set
- Fluent UI System Color Icons
- Style
- 48
- Viewbox
- 48×48
- 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 48 48"><g fill="none"><path fill="url(#SVG1hh7icZR1)" d="M21.263 10.178a10.77 10.77 0 0 0-12.575-.296c-5.65 3.866-6.308 11.953-1.357 16.681l15.806 15.092a1.25 1.25 0 0 0 1.726 0l15.803-15.091c4.952-4.728 4.293-12.816-1.358-16.681a10.77 10.77 0 0 0-12.577.298L24 12.246z"/><defs><linearGradient id="SVG1hh7icZR1" x1="-4.752" x2="15.69" y1="-1.713" y2="42.43" gradientUnits="userSpaceOnUse"><stop stop-color="#f97dbd"/><stop offset="1" stop-color="#d7257d"/></linearGradient></defs></g></svg>
React
import type { SVGProps } from "react";
export function FluentColorHeart48(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none"><path fill="url(#SVG1hh7icZR1)" d="M21.263 10.178a10.77 10.77 0 0 0-12.575-.296c-5.65 3.866-6.308 11.953-1.357 16.681l15.806 15.092a1.25 1.25 0 0 0 1.726 0l15.803-15.091c4.952-4.728 4.293-12.816-1.358-16.681a10.77 10.77 0 0 0-12.577.298L24 12.246z"/><defs><linearGradient id="SVG1hh7icZR1" x1="-4.752" x2="15.69" y1="-1.713" y2="42.43" 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 48 48"><g fill="none"><path fill="url(#SVG1hh7icZR1)" d="M21.263 10.178a10.77 10.77 0 0 0-12.575-.296c-5.65 3.866-6.308 11.953-1.357 16.681l15.806 15.092a1.25 1.25 0 0 0 1.726 0l15.803-15.091c4.952-4.728 4.293-12.816-1.358-16.681a10.77 10.77 0 0 0-12.577.298L24 12.246z"/><defs><linearGradient id="SVG1hh7icZR1" x1="-4.752" x2="15.69" y1="-1.713" y2="42.43" gradientUnits="userSpaceOnUse"><stop stop-color="#f97dbd"/><stop offset="1" stop-color="#d7257d"/></linearGradient></defs></g></svg> </template>
CSS
.icon-heart-48 {
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%2048%2048%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22url(%23SVG1hh7icZR1)%22%20d%3D%22M21.263%2010.178a10.77%2010.77%200%200%200-12.575-.296c-5.65%203.866-6.308%2011.953-1.357%2016.681l15.806%2015.092a1.25%201.25%200%200%200%201.726%200l15.803-15.091c4.952-4.728%204.293-12.816-1.358-16.681a10.77%2010.77%200%200%200-12.577.298L24%2012.246z%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22SVG1hh7icZR1%22%20x1%3D%22-4.752%22%20x2%3D%2215.69%22%20y1%3D%22-1.713%22%20y2%3D%2242.43%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%2048%2048%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22url(%23SVG1hh7icZR1)%22%20d%3D%22M21.263%2010.178a10.77%2010.77%200%200%200-12.575-.296c-5.65%203.866-6.308%2011.953-1.357%2016.681l15.806%2015.092a1.25%201.25%200%200%200%201.726%200l15.803-15.091c4.952-4.728%204.293-12.816-1.358-16.681a10.77%2010.77%200%200%200-12.577.298L24%2012.246z%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22SVG1hh7icZR1%22%20x1%3D%22-4.752%22%20x2%3D%2215.69%22%20y1%3D%22-1.713%22%20y2%3D%2242.43%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-48.svg?color=%231a73e8&size=48