Ship icon
humbleicons:ship
The Ship icon (humbleicons:ship) is a free SVG icon from the Humbleicons set by Jiří Zralý. It is drawn on a 24 × 24 grid. Humbleicons 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
- Humbleicons
- Author
- Jiří Zralý
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m3 17l.756.378a3 3 0 0 0 2.523.074l1.04-.446a3 3 0 0 1 2.363 0l1.04.446a3 3 0 0 0 2.523-.074l.413-.207a3 3 0 0 1 2.684 0l.547.273a3 3 0 0 0 2.29.163L21 17M5 14.5L4 10h4m10 4.5l2.5-4.5h-8.245H13.5m0 0l-.721-3H8v3m5.5 0H8m1.5 3h.1m.4-8.5l-.217-.233a2.04 2.04 0 0 0-2.625-.305a2.04 2.04 0 0 1-2.727-.424L4 3m9.5 10h.1"/></svg>How to use the Ship icon
React
import { Icon } from "@iconify/react";
<Icon icon="humbleicons:ship" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="humbleicons:ship" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="humbleicons:ship" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[humbleicons--ship]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/humbleicons -->
<div class="i-humbleicons:ship"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="humbleicons:ship"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/humbleicons/ship.svg" alt="Ship icon" width="24" height="24">Ship icon in other icon sets
Ship icon FAQ
Is the Ship icon free for commercial use?
Yes. Humbleicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Ship icon in React?
Install @iconify/react and render <Icon icon="humbleicons:ship" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Ship icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/humbleicons/ship.svg" alt="Ship icon">, or paste the SVG code inline to style it with CSS.