Piston 20 icon
energy-icons:piston-20
The Piston 20 icon (energy-icons:piston-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
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M14.5 3.333A.333.333 0 0 0 14.167 3H5.833a.333.333 0 0 0-.333.333v5c0 .185.15.334.333.334h8.334a.333.333 0 0 0 .333-.334zm1 5c0 .737-.597 1.334-1.333 1.334H5.833A1.333 1.333 0 0 1 4.5 8.333v-5C4.5 2.597 5.097 2 5.833 2h8.334c.736 0 1.333.597 1.333 1.333z"/><path fill="currentColor" d="M15 4.083v1H5v-1zm0 2.084v1H5v-1zm-4.5 3v4.583h-1V9.167z"/><path fill="currentColor" d="M11.583 15.833a1.584 1.584 0 1 0-3.167.001a1.584 1.584 0 0 0 3.167-.001m1 0a2.584 2.584 0 1 1-5.167 0a2.584 2.584 0 0 1 5.167 0"/></svg>How to use the Piston 20 icon
React
import { Icon } from "@iconify/react";
<Icon icon="energy-icons:piston-20" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="energy-icons:piston-20" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="energy-icons:piston-20" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--piston-20]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:piston-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:piston-20"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/energy-icons/piston-20.svg" alt="Piston 20 icon" width="24" height="24">Related icons in Energy Icons
Piston 20 icon FAQ
Is the Piston 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 Piston 20 icon in React?
Install @iconify/react and render <Icon icon="energy-icons:piston-20" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Piston 20 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/energy-icons/piston-20.svg" alt="Piston 20 icon">, or paste the SVG code inline to style it with CSS.