ICONYZ
English
Pixabay icon from theSVG

Pixabay icon

thesvg:pixabay

The Pixabay icon (thesvg:pixabay) is a free SVG icon from the theSVG set by thesvg.org. It is drawn on a 24 × 24 grid. theSVG 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
theSVG
Author
thesvg.org
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M2 0a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Zm10.193 5.5h2.499l1.967 2.872L18.854 5.5h2.482l-3.579 4.592l3.91 4.813h-2.638l-2.395-3.064l-2.15 3.064h-2.579l3.579-4.813zm-5.045.004q1.98.05 3.3 1.371q1.318 1.321 1.37 3.317q-.052 1.997-1.37 3.328q-1.32 1.33-3.3 1.38H4.346v3.768H2.5v-8.476q.049-1.995 1.359-3.317q1.31-1.321 3.29-1.37Zm0 1.864q-1.196.03-1.985.823q-.787.794-.817 2v2.847h2.802q1.212-.028 2.003-.826q.791-.799.82-2.02q-.029-1.206-.82-2q-.79-.795-2.003-.824"/></svg>

How to use the Pixabay icon

React

import { Icon } from "@iconify/react";

<Icon icon="thesvg:pixabay" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="thesvg:pixabay" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="thesvg:pixabay" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[thesvg--pixabay]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/thesvg -->
<div class="i-thesvg:pixabay"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="thesvg:pixabay"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/thesvg/pixabay.svg" alt="Pixabay icon" width="24" height="24">

Pixabay icon in other icon sets

Pixabay icon FAQ

Is the Pixabay icon free for commercial use?

Yes. theSVG icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Pixabay icon in React?

Install @iconify/react and render <Icon icon="thesvg:pixabay" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Pixabay icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/thesvg/pixabay.svg" alt="Pixabay icon">, or paste the SVG code inline to style it with CSS.

Browse all theSVG icons →