ICONYZ
English
Gas Station Diesel icon from Carbon

Gas Station Diesel icon

carbon:gas-station-diesel

The Gas Station Diesel icon (carbon:gas-station-diesel) is a free SVG icon from the Carbon set by IBM. It is drawn on a 32 × 32 grid. Carbon 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
Carbon
Author
IBM
License
Apache-2.0
Size
32 × 32
Category
Planning
Tags
gasstation, stationdiesel, gasstationdiesel
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M8 10v2h7v-2zm21-.59V24.5c0 1.93-1.57 3.5-3.5 3.5S22 26.43 22 24.5V17h-3v9h2v2h-9v-2h5V6H6v9H4V5c0-.55.45-1 1-1h13c.55 0 1 .45 1 1v10h4c.55 0 1 .45 1 1v8.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V14c-1.1 0-2-.9-2-2V7.41l-3.01-3l1.42-1.42l5 5.01c.38.38.59.88.59 1.41M6 28H2V18h4c1.654 0 3 1.346 3 3v4c0 1.654-1.346 3-3 3m-2-2h2a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1H4z"/></svg>

How to use the Gas Station Diesel icon

React

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

<Icon icon="carbon:gas-station-diesel" width="24" />

Vue

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

<template>
  <Icon icon="carbon:gas-station-diesel" width="24" />
</template>

Svelte

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

<Icon icon="carbon:gas-station-diesel" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[carbon--gas-station-diesel]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/carbon -->
<div class="i-carbon:gas-station-diesel"></div>

Web component

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

<iconify-icon icon="carbon:gas-station-diesel"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/carbon/gas-station-diesel.svg" alt="Gas Station Diesel icon" width="24" height="24">

Related icons in Carbon

Gas Station Diesel icon FAQ

Is the Gas Station Diesel icon free for commercial use?

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

How do I use the Gas Station Diesel icon in React?

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

How do I add the Gas Station Diesel icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/carbon/gas-station-diesel.svg" alt="Gas Station Diesel icon">, or paste the SVG code inline to style it with CSS.

Browse all Carbon icons →