ICONYZ
English
Methane 20 icon from Energy Icons

Methane 20 icon

energy-icons:methane-20

The Methane 20 icon (energy-icons:methane-20) is a free SVG icon from the Energy Icons set by Sam Passmore. It is drawn on a 20 × 20 grid. Energy 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
Energy Icons
Author
Sam Passmore
License
MIT
Size
20 × 20
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M12.417 10a2.417 2.417 0 1 0-4.834 0a2.417 2.417 0 0 0 4.834 0m1 0a3.417 3.417 0 1 1-6.834 0a3.417 3.417 0 0 1 6.834 0M5.333 4.167A1.166 1.166 0 1 0 3 4.166a1.166 1.166 0 0 0 2.333.001m1 0a2.166 2.166 0 1 1-4.332 0a2.166 2.166 0 0 1 4.332 0"/><path fill="currentColor" d="M4.991 4.992a.5.5 0 0 1 .708 0L8.29 7.584a.5.5 0 1 1-.707.707L4.991 5.7a.5.5 0 0 1 0-.707M17 4.167a1.167 1.167 0 1 0-2.333 0a1.167 1.167 0 0 0 2.333 0m1 0a2.166 2.166 0 1 1-4.333 0a2.166 2.166 0 0 1 4.333 0"/><path fill="currentColor" d="M14.301 4.992a.5.5 0 1 1 .707.707L12.417 8.29a.5.5 0 1 1-.707-.707zM5.333 15.833a1.166 1.166 0 1 0-2.332 0a1.166 1.166 0 0 0 2.332 0m1 0A2.166 2.166 0 1 1 2 15.834a2.166 2.166 0 0 1 4.333-.001"/><path fill="currentColor" d="M7.584 11.71a.5.5 0 0 1 .707.706L5.7 15.008a.5.5 0 1 1-.708-.707zM17 15.833a1.166 1.166 0 1 0-2.333 0a1.166 1.166 0 0 0 2.333 0m1 0a2.167 2.167 0 1 1-4.333 0a2.167 2.167 0 0 1 4.333 0"/><path fill="currentColor" d="M11.71 11.71a.5.5 0 0 1 .706 0l2.592 2.591a.5.5 0 1 1-.707.707l-2.591-2.591a.5.5 0 0 1 0-.708"/></svg>

How to use the Methane 20 icon

React

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

<Icon icon="energy-icons:methane-20" width="24" />

Vue

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

<template>
  <Icon icon="energy-icons:methane-20" width="24" />
</template>

Svelte

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

<Icon icon="energy-icons:methane-20" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--methane-20]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:methane-20"></div>

Web component

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

<iconify-icon icon="energy-icons:methane-20"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/energy-icons/methane-20.svg" alt="Methane 20 icon" width="24" height="24">

Related icons in Energy Icons

Methane 20 icon FAQ

Is the Methane 20 icon free for commercial use?

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

How do I use the Methane 20 icon in React?

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

How do I add the Methane 20 icon to a web page?

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

Browse all Energy Icons →