Font-awesome: Icon Request: fa-heart-half, fa-heart-half-o

Created on 31 Oct 2013  ·  26Comments  ·  Source: FortAwesome/Font-Awesome

A combination of the fa-heart and fa-heart-o icons in order to create a heart that is half full (with and without outline).

I would like the _fa-heart_ series of icons to be expanded, such that it includes:

  • fa-heart (already exists)
  • _fa-heart-half_
  • _fa-heart-half-o_
  • fa-heart-o (already exists)

This is similar to the way that the fa-star series of icons works, i.e.

  • fa-star (already exists)
  • fa-star-half (already exists)
  • fa-star-half-o (already exists)
  • fa-star-o (already exists)

I assume that this small addition must be fairly simple to create based on the already existing assets. It would be of great help if this could be added to the project. Many thanks! :)

new icon released web application icons

Most helpful comment

In the meantime, if you need a half-icon, feel free to use this method. It works for any FontAwesome icon.

<ul>
  <li class="fa fa-heart pink"></li>
  <li class="fa fa-heart gray"></li>
</ul>
.fa{
    position:absolute;
    font-size:160px;
    color: #aaaaaa;
}
.gray{
    color:#E72D9E;
    overflow:hidden;
    width:80px;
}

https://jsfiddle.net/nadyav/614yyf7q/

All 26 comments

:+1:

:+1:

+1

+1

+1
Would be also quite great to have the half on both sides

+1

plus 1 for fa-heart-half and fa-heart-half-o.

+1

:+1:

++1

+1 ... definitely please. :)

+1

+1

+1

+1

@ben4d85 and just about everyone else here...

fa-heart-half-o.svg
fa-heart-half.svg

Just want to make sure these graphic representations is what is being requested?

I'm far from a vector graphics expert but twiddled enough to get this done with the existing hearts and a difference applied in about hour or so.


P.S. To the maintainers.... CONTRIBUTING.md is a little confusing... not accepting icons yet accepting in the -wip branches?

A half-heart icon is what being requested here. I also have created a workaround by absolutely positioning a full heart icon (pink) above another one (light gray) and displaying only half of it. Easy enough to implement but requires extra markup and styling. Would be so much easier to have an actual icon.

On Oct 8, 2015, at 12:08 AM, Marti Martz [email protected] wrote:

@ben4d85 and just about everyone else here...

Just want to make sure these graphic representations is what is being requested?

I'm far from a vector graphics expert but twiddled enough to get this done with the existing hearts and a difference applied in about hour or so.


Reply to this email directly or view it on GitHub.

There's actually a third possibility... heart-half _(like demo'd above)_ with no fill just the outer stroke... although not sure how good that would look and might look better with closing the stroke instead of just open.

The fa-heart-half-o.svg demo'd above is what our project is looking for as a simple, visual decrease/increase _(flipped with CSS)_ in our rating system.

+1 for the half-heart representations above.

+1
screen shot 2016-03-09 at 12 38 13 pm

would love (pun intended) the top level heart to be half filled

+1

In the meantime, if you need a half-icon, feel free to use this method. It works for any FontAwesome icon.

<ul>
  <li class="fa fa-heart pink"></li>
  <li class="fa fa-heart gray"></li>
</ul>
.fa{
    position:absolute;
    font-size:160px;
    color: #aaaaaa;
}
.gray{
    color:#E72D9E;
    overflow:hidden;
    width:80px;
}

https://jsfiddle.net/nadyav/614yyf7q/

+1

Any progress with this one? That icon would be extra handy when doing rating system based on hearts rather than stars where rating like 4.5 / 5.5 is possible...

👍🏽

+1

Hey folks. This is available in the version 6 alpha release: https://fontawesome.com/download

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brystfire08 picture brystfire08  ·  3Comments

rufengch picture rufengch  ·  3Comments

lickmydesign picture lickmydesign  ·  3Comments

petermolnar picture petermolnar  ·  3Comments

yarcowang picture yarcowang  ·  3Comments