Copy and paste the following SVG code into your HTML file where you want the icon to appear. Then, you can customize the SVG attributes, such as size or color, using inline styling or CSS classes.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="1em" height="1em">
<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 20C5 20 6 18 6 18C6 18 7 20 9 20C11 20 12 18 12 18C12 18 13 20 15 20C17 20 18 18 18 18C18 18 19 20 21 20M7 19C7 19 4 16 4 12L12 10L20 12C20 16 17 19 17 19M12 10L12 13M6 11L6 7C6 7 6 5 8 5L16 5C18 5 18 7 18 7L18 11M10 4L10 3L14 3L14 4" />
</svg>
You can integrate this icon in your React application using our React icons components. First install the package using YARN or NPM:
$ yarn add @josemi-icons/react
Now you can import this icon in your React application
import {ShipIcon} from "@josemi-icons/react";
Alternatively, if you only need this icon jou can just copy and paste the following component into your React application:
const ShipIcon = () => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="1em" height="1em">
<path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M3 20C5 20 6 18 6 18C6 18 7 20 9 20C11 20 12 18 12 18C12 18 13 20 15 20C17 20 18 18 18 18C18 18 19 20 21 20M7 19C7 19 4 16 4 12L12 10L20 12C20 16 17 19 17 19M12 10L12 13M6 11L6 7C6 7 6 5 8 5L16 5C18 5 18 7 18 7L18 11M10 4L10 3L14 3L14 4" />
</svg>
);
You can now use the icon component in your React application like any other React component.