Thumb Up icon
heroicons-solid:thumb-up
The Thumb Up icon (heroicons-solid:thumb-up) is a free SVG icon from the HeroIcons v1 Solid set by Refactoring UI Inc. It is drawn on a 20 × 20 grid. HeroIcons v1 Solid 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
- HeroIcons v1 Solid
- Author
- Refactoring UI Inc
- License
- MIT
- Size
- 20 × 20
- Tags
- thumbup
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M2 10.5a1.5 1.5 0 1 1 3 0v6a1.5 1.5 0 0 1-3 0zm4-.167v5.43a2 2 0 0 0 1.106 1.79l.05.025A4 4 0 0 0 8.943 18h5.416a2 2 0 0 0 1.962-1.608l1.2-6A2 2 0 0 0 15.56 8H12V4a2 2 0 0 0-2-2a1 1 0 0 0-1 1v.667a4 4 0 0 1-.8 2.4L6.8 7.933a4 4 0 0 0-.8 2.4"/></svg>How to use the Thumb Up icon
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons-solid:thumb-up" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons-solid:thumb-up" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons-solid:thumb-up" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons-solid--thumb-up]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons-solid -->
<div class="i-heroicons-solid:thumb-up"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons-solid:thumb-up"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/heroicons-solid/thumb-up.svg" alt="Thumb Up icon" width="24" height="24">Related icons in HeroIcons v1 Solid
Thumb Up icon in other icon sets
Thumb Up icon FAQ
Is the Thumb Up icon free for commercial use?
Yes. HeroIcons v1 Solid icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Thumb Up icon in React?
Install @iconify/react and render <Icon icon="heroicons-solid:thumb-up" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Thumb Up icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/heroicons-solid/thumb-up.svg" alt="Thumb Up icon">, or paste the SVG code inline to style it with CSS.