Document Heart icon

Used to represent favorited files and actions. The Document Heart icon is part of Microsoft's Fluent UI System Icons, available here in regular and filled styles in 2 sizes from 20 to 24 px. Download it as SVG or PNG, or copy it as code — it's free to use under the MIT License.

Regular (outlined)

SVG

Filled

SVG

Every size and style

Microsoft draws each size separately so icons stay crisp, rather than scaling one drawing. Pick a style and size to preview it, download it, or copy the code for your platform.

Regular, 24 px

ic_fluent_document_heart_24_regular.svg

Document Heart icon in React

npm install @fluentui/react-icons

import { DocumentHeart24Regular } from "@fluentui/react-icons";

export function Example() {
  return <DocumentHeart24Regular aria-label="Document Heart" />;
}

Document Heart icon in SVG

npm install @fluentui/svg-icons

import icon from "@fluentui/svg-icons/icons/document_heart_24_regular.svg";

<!-- or load it from a CDN -->
<img src="https://cdn.jsdelivr.net/npm/@fluentui/svg-icons@1.1.341/icons/document_heart_24_regular.svg" width="24" height="24" alt="Document Heart">

Document Heart icon in Blazor

Microsoft's Fluent UI Blazor icons package:

dotnet add package Microsoft.FluentUI.AspNetCore.Components.Icons

<FluentIcon Value="@(new Icons.Regular.Size24.DocumentHeart())" />

Document Heart icon in Flutter

flutter pub add fluentui_system_icons

import 'package:fluentui_system_icons/fluentui_system_icons.dart';

Icon(FluentIcons.document_heart_24_regular)

Document Heart icon in WinUI / WPF

Add FluentSystemIcons-Regular.ttf from Microsoft's repository to your app, then use the glyph:

<!-- WinUI 3 (font in Assets/Fonts) -->
<FontIcon FontFamily="ms-appx:///Assets/Fonts/FluentSystemIcons-Regular.ttf#FluentSystemIcons-Regular" Glyph="&#xE509;" FontSize="24" />

<!-- WPF (font in Fonts/, Build Action: Resource) -->
<TextBlock FontFamily="pack://application:,,,/Fonts/#FluentSystemIcons-Regular" Text="&#xE509;" FontSize="24" />

Document Heart icon in Icon font

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/microsoft/fluentui-system-icons@9cf8af0f95a555918a60b8147a2f33a6a1248442/fonts/FluentSystemIcons-Regular.css">

<i class="icon-ic_fluent_document_heart_24_regular"></i>

/* or use the code point in your own CSS */
.icon::before {
  font-family: "FluentSystemIcons-Regular";
  content: "\e509";
  font-size: 24px;
}

Document Heart icon in Android

// build.gradle
implementation("com.microsoft.design:fluent-system-icons:1.1.341@aar")

<!-- layout XML -->
<ImageView android:src="@drawable/ic_fluent_document_heart_24_regular" />

// Kotlin
R.drawable.ic_fluent_document_heart_24_regular

Document Heart icon in iOS

# Podfile
pod "FluentIcons", "1.1.341"

import FluentIcons

UIImage(fluent: .documentHeart24Regular)

Document Heart icon in Power Apps

Paste into an Image control's Image property. The Copy button copies the full formula with this icon's SVG.

"data:image/svg+xml;utf8, " & EncodeUrl("<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'>…</svg>")

Use the Document Heart icon in React

Install Microsoft's @fluentui/react-icons package, then import the component. Icons inherit the current text color, and you can size them with CSS.

npm install @fluentui/react-icons

import { DocumentHeart24Regular, DocumentHeart24Filled } from "@fluentui/react-icons";

export function Example() {
  return <DocumentHeart24Regular aria-label="Document Heart" />;
}

Coding agents can look up this component through the Fluent Icons MCP server.

Use it in HTML

Reference the SVG file directly:

<img src="https://fluenticons.co/icons/ic_fluent_document_heart_24_regular.svg" width="24" height="24" alt="Document Heart">

Or paste the SVG markup inline. Setting fill="currentColor" makes the icon follow the text color of its parent:

<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18 20.5C18.276 20.5 18.5 20.275 18.5 20V10H14C12.896 10 12 9.104 12 8V3.5H6C5.724 3.5 5.5 3.725 5.5 4V11.3107C5.00728 11.2012 4.49961 11.176 4 11.235V4C4 2.896 4.896 2 6 2H12.172C12.6865 2 13.2194 2.22035 13.585 2.586L19.414 8.414C19.789 8.789 20 9.298 20 9.828V20C20 21.104 19.104 22 18 22H9.4893L10.9893 20.5H18ZM17.378 8.5L13.5 4.621V8C13.5 8.275 13.724 8.5 14 8.5H17.378ZM6.48398 22.5303C6.6304 22.6768 6.82237 22.75 7.01436 22.75C7.20636 22.75 7.39832 22.6768 7.54475 22.5303L11.953 18.122C13.3069 16.7682 13.3069 14.5732 11.953 13.2194C10.5992 11.8655 8.4042 11.8655 7.05036 13.2194L7.01436 13.2554L6.97837 13.2194C5.62453 11.8655 3.42952 11.8655 2.07568 13.2194C0.721843 14.5732 0.721843 16.7682 2.07568 18.122L6.48398 22.5303Z" fill="currentColor"/></svg>

Details

NameDocument Heart
StylesRegular (outlined), Filled
Sizes20 px, 24 px
Regular (outlined) fileic_fluent_document_heart_24_regular.svg
Filled fileic_fluent_document_heart_24_filled.svg
React (Regular)DocumentHeart20Regular, DocumentHeart24Regular
React (Filled)DocumentHeart20Filled, DocumentHeart24Filled
LicenseMIT (© Microsoft Corporation)

Keywords

paperworkfileanaloglovefavoritevertical

Related icons