Like icon
subway:like
The Like icon (subway:like) is a free SVG icon from the Subway Icon Set set by Mariusz Ostrowski. It is drawn on a 512 × 512 grid. Subway Icon Set icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Subway Icon Set
- Author
- Mariusz Ostrowski
- License
- CC-BY-4.0
- Size
- 512 × 512
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M2.5 209.1C1 221.1 0 233.3 0 245.7c0 109 59.7 203.9 148.1 254.2l16.5-34.8V227.4l-18.3-18.3zM512 227.4c0-18.3-18.3-36.6-36.6-36.6H329.1c9.1-36.6 18.3-73.1 18.3-91.4c0-36.6-18.3-73.1-27.4-82.3c-.2-.2-9.1-9.1-27.4-9.1c-27.4 0-27.4 27.4-27.4 27.4c0 .5-9.1 45.7-9.1 64s-36.6 91.4-54.9 109.7l-18.3 9.1v256l18.3 9.1h201.1c36.6 0 54.9-18.3 54.9-36.6s-18.3-36.6-36.6-36.6c36.6 0 54.9-18.3 54.9-36.6s-18.3-36.6-36.6-36.6c36.6 0 54.9-18.3 54.9-36.6s-18.3-36.6-36.6-36.6c36.5.3 54.8-18 54.8-36.3"/></svg>How to use the Like icon
React
import { Icon } from "@iconify/react";
<Icon icon="subway:like" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="subway:like" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="subway:like" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[subway--like]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/subway -->
<div class="i-subway:like"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="subway:like"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/subway/like.svg" alt="Like icon" width="24" height="24">Like icon in other icon sets
Like icon FAQ
Is the Like icon free for commercial use?
Yes. Subway Icon Set icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Like icon in React?
Install @iconify/react and render <Icon icon="subway:like" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Like icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/subway/like.svg" alt="Like icon">, or paste the SVG code inline to style it with CSS.