Hammock 48 icon
energy-icons:hammock-48
The Hammock 48 icon (energy-icons:hammock-48) is a free SVG icon from the Energy Icons set by Sam Passmore. It is drawn on a 48 × 48 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
- 48 × 48
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="currentColor" d="M45 41a1 1 0 1 1 0 2H3a1 1 0 1 1 0-2z"/><path fill="currentColor" d="M5 10a1 1 0 0 1 2 0v32H5zm36 0a1 1 0 1 1 2 0v32h-2z"/><path fill="currentColor" d="M42.914 16.406C38.785 25.696 31.468 30.5 24 30.5S9.214 25.695 5.086 16.406l1.828-.812C10.786 24.304 17.468 28.5 24 28.5s13.215-4.195 17.086-12.906z"/></svg>How to use the Hammock 48 icon
React
import { Icon } from "@iconify/react";
<Icon icon="energy-icons:hammock-48" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="energy-icons:hammock-48" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="energy-icons:hammock-48" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--hammock-48]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:hammock-48"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="energy-icons:hammock-48"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/energy-icons/hammock-48.svg" alt="Hammock 48 icon" width="24" height="24">Related icons in Energy Icons
Hammock 48 icon FAQ
Is the Hammock 48 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 Hammock 48 icon in React?
Install @iconify/react and render <Icon icon="energy-icons:hammock-48" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Hammock 48 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/energy-icons/hammock-48.svg" alt="Hammock 48 icon">, or paste the SVG code inline to style it with CSS.