import { Heart } from "fmicon-react";
<Heart size={24} variant="twotone" strokeWidth={1} />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
size | number | string | 24 | Width and height in pixels |
variant | "linear" | "bold" | … | linear | Any of the 8 styles, plus glass-light for light backgrounds |
color | string | currentColor | Any CSS colour; inherits the text colour by default |
strokeWidth | number | 1.5 | Line weight for linear, twotone, broken and duotone |
...props | SVG attributes | – | className, aria-label, onClick and the rest |
More in Support & Likes
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 Twotone Style
Twotone icons draw the main lines at full strength and a secondary part at lower opacity. The eye lands on the part that matters first, while the rest of the symbol stays readable.
Best for: dashboards, onboarding screens and marketing sections.
The same icon also comes in linear, outline, bold, bulk, broken, glass and duotone. See every icon in this look on the free twotone icons page.
How to Use the Heart Icon
- Customise it. Pick a stroke weight, size and colour on the left. Thin (1 px) looks best at large sizes, Regular (1.5 px) is the default.
- Copy or download. Copy the SVG, or download SVG, PNG or WebP at any size from 16 to 512 px.
- Drop it into code. Choose React, React Native, Vue, Svelte, Angular or Flutter above and copy the ready-made
HeartIconcomponent. - 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, usearia-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 iconsHeart 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.