gentleface

Gentleface › Photo & image › image-heart

image-heart icon

Image heart: liked photos, like photo. 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="M1.14 2.264C1.242 2.007 1.391 1.781 1.586 1.586C1.781 1.391 2.007 1.242 2.264 1.14C2.5 1.047 2.746 1 3 1L11 1C11.254 1 11.5 1.047 11.736 1.14C11.993 1.242 12.219 1.391 12.414 1.586C12.609 1.781 12.758 2.007 12.86 2.264C12.953 2.5 13 2.746 13 3L13 5.5C13 5.641 12.952 5.759 12.856 5.856C12.759 5.952 12.641 6 12.5 6C12.359 6 12.241 5.952 12.144 5.856C12.048 5.759 12 5.641 12 5.5L12 3C12 2.724 11.902 2.488 11.707 2.293C11.512 2.098 11.276 2 11 2L3 2C2.724 2 2.488 2.098 2.293 2.293C2.098 2.488 2 2.724 2 3L2 5.293L3.086 4.207C3.266 4.027 3.472 3.887 3.706 3.786C3.959 3.676 4.224 3.621 4.5 3.621C4.776 3.621 5.041 3.676 5.294 3.786C5.528 3.887 5.734 4.027 5.914 4.207L7.854 6.146C7.903 6.196 7.941 6.25 7.965 6.309C7.657 6.445 7.379 6.621 7.132 6.839L5.207 4.914C5.012 4.719 4.776 4.621 4.5 4.621C4.224 4.621 3.988 4.719 3.793 4.914L2 6.707L2 8C2 8.276 2.098 8.512 2.293 8.707C2.488 8.902 2.724 9 3 9L4.5 9C4.641 9 4.759 9.048 4.856 9.144C4.952 9.241 5 9.359 5 9.5C5 9.641 4.952 9.759 4.856 9.856C4.759 9.952 4.641 10 4.5 10L3 10C2.746 10 2.5 9.953 2.264 9.86C2.007 9.758 1.781 9.609 1.586 9.414C1.391 9.219 1.242 8.993 1.14 8.736C1.047 8.5 1 8.254 1 8L1 3C1 2.746 1.047 2.5 1.14 2.264ZM9.293 3.293C9.488 3.098 9.724 3 10 3C10.276 3 10.512 3.098 10.707 3.293C10.902 3.488 11 3.724 11 4C11 4.276 10.902 4.512 10.707 4.707C10.512 4.902 10.276 5 10 5C9.724 5 9.488 4.902 9.293 4.707C9.098 4.512 9 4.276 9 4C9 3.724 9.098 3.488 9.293 3.293ZM12.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 "image-heart" (line-round), MIT. https://gentleface.com/icons/image-heart
import type { SVGProps } from 'react';

export function ImageHeartIcon(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="M1.14 2.264C1.242 2.007 1.391 1.781 1.586 1.586C1.781 1.391 2.007 1.242 2.264 1.14C2.5 1.047 2.746 1 3 1L11 1C11.254 1 11.5 1.047 11.736 1.14C11.993 1.242 12.219 1.391 12.414 1.586C12.609 1.781 12.758 2.007 12.86 2.264C12.953 2.5 13 2.746 13 3L13 5.5C13 5.641 12.952 5.759 12.856 5.856C12.759 5.952 12.641 6 12.5 6C12.359 6 12.241 5.952 12.144 5.856C12.048 5.759 12 5.641 12 5.5L12 3C12 2.724 11.902 2.488 11.707 2.293C11.512 2.098 11.276 2 11 2L3 2C2.724 2 2.488 2.098 2.293 2.293C2.098 2.488 2 2.724 2 3L2 5.293L3.086 4.207C3.266 4.027 3.472 3.887 3.706 3.786C3.959 3.676 4.224 3.621 4.5 3.621C4.776 3.621 5.041 3.676 5.294 3.786C5.528 3.887 5.734 4.027 5.914 4.207L7.854 6.146C7.903 6.196 7.941 6.25 7.965 6.309C7.657 6.445 7.379 6.621 7.132 6.839L5.207 4.914C5.012 4.719 4.776 4.621 4.5 4.621C4.224 4.621 3.988 4.719 3.793 4.914L2 6.707L2 8C2 8.276 2.098 8.512 2.293 8.707C2.488 8.902 2.724 9 3 9L4.5 9C4.641 9 4.759 9.048 4.856 9.144C4.952 9.241 5 9.359 5 9.5C5 9.641 4.952 9.759 4.856 9.856C4.759 9.952 4.641 10 4.5 10L3 10C2.746 10 2.5 9.953 2.264 9.86C2.007 9.758 1.781 9.609 1.586 9.414C1.391 9.219 1.242 8.993 1.14 8.736C1.047 8.5 1 8.254 1 8L1 3C1 2.746 1.047 2.5 1.14 2.264ZM9.293 3.293C9.488 3.098 9.724 3 10 3C10.276 3 10.512 3.098 10.707 3.293C10.902 3.488 11 3.724 11 4C11 4.276 10.902 4.512 10.707 4.707C10.512 4.902 10.276 5 10 5C9.724 5 9.488 4.902 9.293 4.707C9.098 4.512 9 4.276 9 4C9 3.724 9.098 3.488 9.293 3.293ZM12.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/image-heart.md
Svelte
Svelte: see /icons/image-heart.md
HTML img
HTML img: see /icons/image-heart.md
CSS
CSS: see /icons/image-heart.md
Data URL
Data URL: see /icons/image-heart.md
Sprite
Sprite: see /icons/image-heart.md
SwiftUI
SwiftUI: see /icons/image-heart.md
Compose
Compose: see /icons/image-heart.md
Android XML
Android XML: see /icons/image-heart.md
Flutter
Flutter: see /icons/image-heart.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. 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 { ImageHeartIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
liked photos, like photo
Example
Photo feed: liked photos
Built from
image + heart
Tags
picture, photo, landscape, mountain, gallery, heart
Category
Photo & image
Component name
ImageHeartIcon
History
  • added, released in 0.4.0
Since
version 0.4.0

Family 34

More photo & image icons

For agents

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