ICONYZ
English
Haystack icon from Simple Icons

Haystack icon

simple-icons:haystack

The Haystack icon (simple-icons:haystack) is a free SVG icon from the Simple Icons set by Simple Icons Collaborators. It is drawn on a 24 × 24 grid. Simple Icons are released under the CC0 1.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
Simple Icons
Author
Simple Icons Collaborators
License
CC0-1.0
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M2.008 0A2.01 2.01 0 0 0 0 2.008v19.984C0 23.1.9 24 2.008 24h19.984A2.01 2.01 0 0 0 24 21.992V2.008A2.01 2.01 0 0 0 21.992 0Zm9.963 3.84c3.43 0 6.21 2.763 6.21 6.17v6.488a.27.27 0 0 1-.27.268a2.423 2.423 0 0 1-2.43-2.414V10.01c0-1.927-1.572-3.488-3.51-3.488S8.547 8.085 8.547 10.01v1.608a.263.263 0 0 0 .259.268h1.54a.27.27 0 0 0 .275-.263V9.945c0-.74.604-1.341 1.35-1.341s1.35.6 1.35 1.341V20.03a.275.275 0 0 1-.28.268a2.41 2.41 0 0 1-2.42-2.404v-3.23a.275.275 0 0 0-.276-.269H8.811a.264.264 0 0 0-.264.263v1.08c0 1.333-1.175 2.414-2.517 2.414a.27.27 0 0 1-.27-.268v-7.872c0-3.408 2.78-6.171 6.21-6.171"/></svg>

How to use the Haystack icon

React

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

<Icon icon="simple-icons:haystack" width="24" />

Vue

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

<template>
  <Icon icon="simple-icons:haystack" width="24" />
</template>

Svelte

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

<Icon icon="simple-icons:haystack" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[simple-icons--haystack]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/simple-icons -->
<div class="i-simple-icons:haystack"></div>

Web component

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

<iconify-icon icon="simple-icons:haystack"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/simple-icons/haystack.svg" alt="Haystack icon" width="24" height="24">

Haystack icon in other icon sets

Haystack icon FAQ

Is the Haystack icon free for commercial use?

Yes. Simple Icons are released under the CC0 1.0 license, which allows use in personal and commercial projects.

How do I use the Haystack icon in React?

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

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

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

Browse all Simple Icons →