Font-awesome: Icon Request: Ko-Fi

Created on 15 Mar 2018  路  13Comments  路  Source: FortAwesome/Font-Awesome

Ko-Fi is a website built around the idea of "buy me a coffee"! You click the button, are redirected to a page, and can donate money to that account, along with a message (if you wish). Providing an icon for this could provide a lot of use for emerging content creators on the web.

brand icon

Most helpful comment

For a solution using FA only until the icon is added, you can decently emulate the Ko-fi logo by using pseudoelements to combine multiple FA icons.

HTML:

<i class="fas fa-mug-hot ko-fi"></i>

CSS:

.ko-fi::after {
      content: '\f004';
      font-weight: 900;
      font-size: 15px;
      color: #fff;
      position: absolute;
      margin: 20px 0 0 -32px;
}

You'll need to adjust the color, font-size, and margins to center the heart inside the icon and customize it to your liking.

Rough examples I threw together for fas fa-mug-hot, fas fa-mug, and far fa-mug:
Ko-fi FA icon examples

Emulating the actual logo with both fas fa-mug-hot (free option) and fas fa-mug (pro option) (mug is #fff, background is #29abe0, heart is #ff5e5b):
Ko-fi logo made with FA Free icon fas fa-mug-hot
Ko-fi logo made with FA Pro icon fas fa-mug
compare to actual logo:
Official Ko-fi logo

_Things to note:_

  • If you're not planning on using the chosen mug icon anywhere else in the project, you could easily just add the ::after to the icon's class name in your css instead of creating a unique class like I did.
  • You don't need to specify the font-family if you're adding it to the icon's HTML tag.
  • You don't need to specify font-weight if you choose to use a solid mug, but you do need to set the font-weight to 900 if you want to keep the solid heart when adding it to a regular or light mug icon.
  • Font Awesome's site has more info on using icons in pseudoelements.

Hope this helps!

All 13 comments

+1

I want this one as well :) Will create my own if it's not on the horizon

+1, Ko-Fi has grown in popularity, or at last it seems that way. Would be really nice to have this one.

+1 Please add this icon!

+1, Any update?

For a solution using FA only until the icon is added, you can decently emulate the Ko-fi logo by using pseudoelements to combine multiple FA icons.

HTML:

<i class="fas fa-mug-hot ko-fi"></i>

CSS:

.ko-fi::after {
      content: '\f004';
      font-weight: 900;
      font-size: 15px;
      color: #fff;
      position: absolute;
      margin: 20px 0 0 -32px;
}

You'll need to adjust the color, font-size, and margins to center the heart inside the icon and customize it to your liking.

Rough examples I threw together for fas fa-mug-hot, fas fa-mug, and far fa-mug:
Ko-fi FA icon examples

Emulating the actual logo with both fas fa-mug-hot (free option) and fas fa-mug (pro option) (mug is #fff, background is #29abe0, heart is #ff5e5b):
Ko-fi logo made with FA Free icon fas fa-mug-hot
Ko-fi logo made with FA Pro icon fas fa-mug
compare to actual logo:
Official Ko-fi logo

_Things to note:_

  • If you're not planning on using the chosen mug icon anywhere else in the project, you could easily just add the ::after to the icon's class name in your css instead of creating a unique class like I did.
  • You don't need to specify the font-family if you're adding it to the icon's HTML tag.
  • You don't need to specify font-weight if you choose to use a solid mug, but you do need to set the font-weight to 900 if you want to keep the solid heart when adding it to a regular or light mug icon.
  • Font Awesome's site has more info on using icons in pseudoelements.

Hope this helps!

home this one comes <3

This would be a good icon to add!

Still hoping this gets added, +1

+1

Any news about this icon request? The issue still open since 2018...

BTW, +1! Thanks!

Ciao @fbaldassarri!

You may be interested in taking a look at our Icon Leaderboard FAQs, they contain a lot of information about how requests work

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marceloverdijk picture marceloverdijk  路  163Comments

jrf0110 picture jrf0110  路  170Comments

Vivalldi picture Vivalldi  路  200Comments

ivafrydkova picture ivafrydkova  路  176Comments

sebastialonso picture sebastialonso  路  178Comments