ICONYZ
English
Petrol icon from IconPark

Petrol icon

icon-park:petrol

The Petrol icon (icon-park:petrol) is a free SVG icon from the IconPark set by ByteDance. It is drawn on a 48 × 48 grid. IconPark icons are released under the Apache 2.0 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
IconPark
Author
ByteDance
License
Apache-2.0
Size
48 × 48
Category
Industry
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><g fill="none" stroke-linejoin="round" stroke-width="4"><path fill="#2F88FF" stroke="#000" d="M42 42V6H39L30 16H12L6 22V42H42Z"/><path stroke="#000" stroke-linecap="round" d="M12 16L22 6H40"/><path fill="#43CCF8" stroke="#fff" stroke-linecap="round" d="M20.643 28.8886C22.0743 27.0081 23.1776 24.4103 23.774 23C24.8177 24.4103 27.084 27.9484 27.7997 29.8288C28.6942 32.1793 26.4578 35 23.774 35C21.0903 35 18.8538 31.2391 20.643 28.8886Z"/><path stroke="#000" stroke-linecap="round" d="M11 8L4 15"/></g></svg>

How to use the Petrol icon

React

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

<Icon icon="icon-park:petrol" width="24" />

Vue

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

<template>
  <Icon icon="icon-park:petrol" width="24" />
</template>

Svelte

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

<Icon icon="icon-park:petrol" width="24" />

Tailwind CSS

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

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/icon-park -->
<div class="i-icon-park:petrol"></div>

Web component

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

<iconify-icon icon="icon-park:petrol"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/icon-park/petrol.svg" alt="Petrol icon" width="24" height="24">

Petrol icon in other icon sets

Petrol icon FAQ

Is the Petrol icon free for commercial use?

Yes. IconPark icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Petrol icon in React?

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

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

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

Browse all IconPark icons →