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="M12 4.92893C12 4.92893 15.5355 1.3934 19.0711 4.92893C22.6066 8.46447 19.0711 12 19.0711 12L12 19.0711C12 19.0711 8.46447 22.6066 4.92893 19.0711C1.3934 15.5355 4.92893 12 4.92893 12L12 4.92893ZM9 9L15 15" />
</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 {PillIcon} 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 PillIcon = () => (
<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="M12 4.92893C12 4.92893 15.5355 1.3934 19.0711 4.92893C22.6066 8.46447 19.0711 12 19.0711 12L12 19.0711C12 19.0711 8.46447 22.6066 4.92893 19.0711C1.3934 15.5355 4.92893 12 4.92893 12L12 4.92893ZM9 9L15 15" />
</svg>
);
You can now use the icon component in your React application like any other React component.