Buy Me A Coffee icon
line-md:buy-me-a-coffee
The Buy Me A Coffee icon (line-md:buy-me-a-coffee) is a free SVG icon from the Material Line Icons set by Vjacheslav Trushkin. It is drawn on a 24 × 24 grid. Material Line Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Material Line Icons
- Author
- Vjacheslav Trushkin
- License
- MIT
- Size
- 24 × 24
- Category
- Social
- Tags
- buyme, mea, acoffee, buymeacoffee
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><defs><mask id="SVGbM9xrexz"><path fill="#fff" d="M5 6c0 -2 2 0 6.5 0c4.5 0 7.5 -2 7.5 0l0 1c0 1.5 -2 2 -6.5 2c-4.5 0 -7.5 0 -7.5 -2l0 -1Z"/><path d="M4 4h16v5h-16Z"><animate fill="freeze" attributeName="d" begin="0.4s" dur="0.4s" to="M4 4h0v5h0Z"/></path></mask></defs><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path stroke-dasharray="32" d="M7.5 10.5c0 0 0.83 6.93 1 8.5c0.17 1.57 1.5 2 2.5 2l2 0c1.5 0 2.88 -1.14 3 -2c0.13 -0.86 1 -12 1 -12"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.4s" values="32;0"/></path><path stroke-dasharray="14" stroke-dashoffset="14" d="M8 4c1.1 -0.57 2 -1 4 -1c2 0 4.5 0.5 4.5 3"><animate fill="freeze" attributeName="stroke-dashoffset" begin="0.8s" dur="0.2s" to="0"/></path></g><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#SVGbM9xrexz)"/></svg>How to use the Buy Me A Coffee icon
React
import { Icon } from "@iconify/react";
<Icon icon="line-md:buy-me-a-coffee" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="line-md:buy-me-a-coffee" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="line-md:buy-me-a-coffee" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[line-md--buy-me-a-coffee]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/line-md -->
<div class="i-line-md:buy-me-a-coffee"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="line-md:buy-me-a-coffee"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/line-md/buy-me-a-coffee.svg" alt="Buy Me A Coffee icon" width="24" height="24">Related icons in Material Line Icons
Buy Me A Coffee icon in other icon sets
Buy Me A Coffee icon FAQ
Is the Buy Me A Coffee icon free for commercial use?
Yes. Material Line Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Buy Me A Coffee icon in React?
Install @iconify/react and render <Icon icon="line-md:buy-me-a-coffee" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Buy Me A Coffee icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/line-md/buy-me-a-coffee.svg" alt="Buy Me A Coffee icon">, or paste the SVG code inline to style it with CSS.