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="M4 4L6 4L8 14L19 13L20 7L7 7M7 19C7 18.4477 7.44772 18 8 18C8.55228 18 9 18.4477 9 19C9 19.5523 8.55228 20 8 20C7.44772 20 7 19.5523 7 19ZM16 19C16 18.4477 16.4477 18 17 18C17.5523 18 18 18.4477 18 19C18 19.5523 17.5523 20 17 20C16.4477 20 16 19.5523 16 19ZM8 14L9 19M9 18L17 18" />
</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 {CartIcon} 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 CartIcon = () => (
<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="M4 4L6 4L8 14L19 13L20 7L7 7M7 19C7 18.4477 7.44772 18 8 18C8.55228 18 9 18.4477 9 19C9 19.5523 8.55228 20 8 20C7.44772 20 7 19.5523 7 19ZM16 19C16 18.4477 16.4477 18 17 18C17.5523 18 18 18.4477 18 19C18 19.5523 17.5523 20 17 20C16.4477 20 16 19.5523 16 19ZM8 14L9 19M9 18L17 18" />
</svg>
);
You can now use the icon component in your React application like any other React component.