gentleface

Gentleface › Files & folders › file-heart

file-heart icon

File heart: favorite file. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.447 4.74 12.671 5.089 12.818 5.487C12.867 5.619 12.863 5.747 12.807 5.871C12.75 5.994 12.655 6.081 12.523 6.13C12.394 6.178 12.266 6.173 12.141 6.115C12.08 6.087 12.027 6.049 11.982 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L8.5 14C8.532 14 8.563 14.003 8.593 14.008L8.992 14.407C8.997 14.437 9 14.468 9 14.5C9 14.641 8.952 14.759 8.856 14.856C8.759 14.952 8.641 15 8.5 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 3C3 2.746 3.047 2.5 3.14 2.264ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.707ZM12.483 14.271C12.169 14.407 11.842 14.475 11.5 14.475C11.158 14.475 10.831 14.407 10.517 14.271C10.228 14.146 9.973 13.973 9.75 13.75L8 12C7.729 11.729 7.5 11.375 7.313 10.938C7.104 10.451 7 9.972 7 9.5C7 8.75 7.229 8.146 7.688 7.688C8.146 7.229 8.75 7 9.5 7C9.979 7 10.375 7.125 10.688 7.375C10.965 7.597 11.236 7.972 11.5 8.5C11.764 7.972 12.035 7.597 12.313 7.375C12.625 7.125 13.021 7 13.5 7C14.25 7 14.854 7.229 15.313 7.688C15.771 8.146 16 8.75 16 9.5C16 9.972 15.896 10.451 15.688 10.938C15.5 11.375 15.271 11.729 15 12L13.25 13.75C13.027 13.973 12.772 14.146 12.483 14.271Z"/></svg>
React
// Gentleface "file-heart" (line-round), MIT. https://gentleface.com/icons/file-heart
import type { SVGProps } from 'react';

export function FileHeartIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.447 4.74 12.671 5.089 12.818 5.487C12.867 5.619 12.863 5.747 12.807 5.871C12.75 5.994 12.655 6.081 12.523 6.13C12.394 6.178 12.266 6.173 12.141 6.115C12.08 6.087 12.027 6.049 11.982 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L8.5 14C8.532 14 8.563 14.003 8.593 14.008L8.992 14.407C8.997 14.437 9 14.468 9 14.5C9 14.641 8.952 14.759 8.856 14.856C8.759 14.952 8.641 15 8.5 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L3 3C3 2.746 3.047 2.5 3.14 2.264ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.707ZM12.483 14.271C12.169 14.407 11.842 14.475 11.5 14.475C11.158 14.475 10.831 14.407 10.517 14.271C10.228 14.146 9.973 13.973 9.75 13.75L8 12C7.729 11.729 7.5 11.375 7.313 10.938C7.104 10.451 7 9.972 7 9.5C7 8.75 7.229 8.146 7.688 7.688C8.146 7.229 8.75 7 9.5 7C9.979 7 10.375 7.125 10.688 7.375C10.965 7.597 11.236 7.972 11.5 8.5C11.764 7.972 12.035 7.597 12.313 7.375C12.625 7.125 13.021 7 13.5 7C14.25 7 14.854 7.229 15.313 7.688C15.771 8.146 16 8.75 16 9.5C16 9.972 15.896 10.451 15.688 10.938C15.5 11.375 15.271 11.729 15 12L13.25 13.75C13.027 13.973 12.772 14.146 12.483 14.271Z" />
    </svg>
  );
}
Vue
Vue: see /icons/file-heart.md
Svelte
Svelte: see /icons/file-heart.md
HTML img
HTML img: see /icons/file-heart.md
CSS
CSS: see /icons/file-heart.md
Data URL
Data URL: see /icons/file-heart.md
Sprite
Sprite: see /icons/file-heart.md
SwiftUI
SwiftUI: see /icons/file-heart.md
Compose
Compose: see /icons/file-heart.md
Android XML
Android XML: see /icons/file-heart.md
Flutter
Flutter: see /icons/file-heart.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { FileHeartIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
favorite file
Example
Favorite files in an app that uses the heart for favorite
Also fits
  • favorite file: the heart convention of favorite
Not for
  • medical record (use file-medical): the heart means favorite, never health
Built from
file + heart
Tags
document, page, sheet, heart, favorite, liked, saved, love, file
Category
Files & folders
Component name
FileHeartIcon
History
  • released in 0.2.0
  • added
Since
version 0.2.0

Family 52

More files & folders icons

For agents

Metadata: /icons/file-heart.json · Markdown: /icons/file-heart.md · SVG: https://gentleface.com/svg/{style}/16/file-heart.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/file-heart.png