Ship icon
majesticons:ship
The Ship icon (majesticons:ship) is a free SVG icon from the Majesticons set by Gerrit Halfmann. It is drawn on a 24 × 24 grid. Majesticons 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
- Majesticons
- Author
- Gerrit Halfmann
- 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="currentColor" fill-rule="evenodd" d="M9 3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2h3a1 1 0 0 1 .981 1.192l-.437 2.238l-1.327-.295l-5-1.111a1 1 0 0 0-.434 0l-5 1.11l-1.327.296l-.437-2.238A1 1 0 0 1 6 5h3zm-6.092 7.996l-.125.028a1 1 0 0 0-.677 1.423l2 4a1 1 0 0 0 1.035.543L12 16.01l6.859.98a1 1 0 0 0 1.035-.543l2-4a1 1 0 0 0-.677-1.423l-.125-.028a1 1 0 0 1-.309-.02l-4-.889L12 9.024l-4.783 1.063l-4 .89a1 1 0 0 1-.309.019m6.36 7.609a3.63 3.63 0 0 1 5.465 0l.035.04a1.57 1.57 0 0 0 2.053.273a3.57 3.57 0 0 1 3.305-.344l1.245.497a1 1 0 0 1-.742 1.857l-1.245-.498a1.57 1.57 0 0 0-1.454.152a3.57 3.57 0 0 1-4.667-.62l-.035-.04a1.63 1.63 0 0 0-2.456 0l-.035.04a3.57 3.57 0 0 1-4.667.62a1.57 1.57 0 0 0-1.454-.152l-1.245.498a1 1 0 1 1-.742-1.857l1.245-.497a3.57 3.57 0 0 1 3.305.344a1.57 1.57 0 0 0 2.053-.273l.035-.04z" clip-rule="evenodd"/></svg>How to use the Ship icon
React
import { Icon } from "@iconify/react";
<Icon icon="majesticons:ship" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="majesticons:ship" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="majesticons:ship" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[majesticons--ship]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/majesticons -->
<div class="i-majesticons:ship"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="majesticons:ship"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/majesticons/ship.svg" alt="Ship icon" width="24" height="24">Related icons in Majesticons
Ship icon in other icon sets
Ship icon FAQ
Is the Ship icon free for commercial use?
Yes. Majesticons 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="majesticons: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/majesticons/ship.svg" alt="Ship icon">, or paste the SVG code inline to style it with CSS.