Pexels icon
gg:pexels
The Pexels icon (gg:pexels) is a free SVG icon from the css.gg set by Astrit. It is drawn on a 24 × 24 grid. css.gg 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M12 5a5.001 5.001 0 0 1 0 10v4H6V5zM8 7v10h2v-4h2l.003-.001a2.993 2.993 0 0 0 3.041-3.044l-.007-.39a2.61 2.61 0 0 0-2.711-2.562l-.306.005L12 7z" clip-rule="evenodd"/></svg>How to use the Pexels icon
React
import { Icon } from "@iconify/react";
<Icon icon="gg:pexels" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gg:pexels" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gg:pexels" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gg--pexels]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gg -->
<div class="i-gg:pexels"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gg:pexels"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/gg/pexels.svg" alt="Pexels icon" width="24" height="24">Pexels icon in other icon sets
Pexels icon FAQ
Is the Pexels icon free for commercial use?
Yes. css.gg icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Pexels icon in React?
Install @iconify/react and render <Icon icon="gg:pexels" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Pexels icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/gg/pexels.svg" alt="Pexels icon">, or paste the SVG code inline to style it with CSS.