Export size24px

 

App.jsx
import { Heart } from "fmicon-react";

<Heart size={24} variant="outline" />

Props

PropTypeDefaultDescription
sizenumber | string24Width and height in pixels
variant"linear" | "bold" | …linearAny of the 8 styles, plus glass-light for light backgrounds
colorstringcurrentColorAny CSS colour; inherits the text colour by default
strokeWidthnumber1.5Line weight for linear, twotone, broken and duotone
...propsSVG attributes–className, aria-label, onClick and the rest

What is the Heart Icon?

The heart icon is a simple heart shape, used to say I love this or save this for later. In products it adds items to a favourites list, likes a photo or song, or marks a wishlist entry, and filling the outline shows that the current user has already chosen it.

The heart has symbolised love and affection since medieval times, and photo and social apps made the love icon the standard way to react to posts in the 2010s. It carries more warmth than a thumbs up, which reads as agreement, and more personal feeling than a star, which suggests rating or importance. In shops the heart usually means wishlist, so people expect it to save an item without buying it or adding it to the basket.

When to Use the Heart Icon

  • Online shop product card: a wishlist toggle in the image corner that saves the item for later.
  • Music app now playing screen: a button that adds the current song to your liked tracks.
  • Photo feed: a double-tap or button reaction on images, with a short count of hearts beneath.
  • Recipe site: a save button beside each recipe that builds a personal collection you can return to.

The Heart Icon in Outline Style

Outline icons trace the same shapes as linear, but each line is a filled contour instead of a stroke. The weight stays fixed at every size, which makes them predictable in design tools and exports.

Best for: design files, print and exports where strokes might get scaled by accident.

The same icon also comes in linear, bold, bulk, twotone, broken, glass and duotone. See every icon in this look on the free outline icons page.

How to Use the Heart Icon

  1. Customise it. Outline is a filled style, so pick a size and colour on the left; stroke weight doesn't apply.
  2. Copy or download. Copy the SVG, or download SVG, PNG or WebP at any size from 16 to 512 px.
  3. Drop it into code. Choose React, React Native, Vue, Svelte, Angular or Flutter above and copy the ready-made HeartIcon component.
  4. Label it. If the icon is the only thing in a button, give it a name for screen readers: aria-label="Add to favourites". If text sits next to it, use aria-hidden="true" instead.

Design Tips for the Heart Icon

  • Use the linear heart for unsaved and the bold, filled heart for saved; the switch between them is the whole interaction.
  • A quick scale pop on tap feels right for a heart, but keep it under 300 milliseconds so repeated tapping never feels slow.
  • Red is the expected filled colour, so check the contrast of a red heart on photo thumbnails and add a light backing circle if needed.

Icons That Work Well with Heart

Browse all support & likes icons

Heart Icon FAQ

On most websites the heart means save to favourites or wishlist. On social apps it means you love a post. Tapping an empty heart fills it, and tapping a filled heart removes it from your saved list or takes back the reaction.

Use the heart for emotional saving, like wishlists, liked songs and photos. Use the star when favourites mean importance or priority, such as starred emails or pinned contacts, or when stars already rate items. Avoid using both for the same job in one product.

Yes. The heart icon is one of 891 free, open-source icons you can use in personal and commercial work, including client projects and apps you sell. The packages are MIT licensed; keep the licence notice if you redistribute the icon files.

SVG, PNG and WebP, at any size from 16 to 512 pixels. You can also copy it as JSX or as a ready-made component for React, React Native, Vue, Svelte, Angular and Flutter, with your stroke weight and colour already applied.