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 6C4 6 4 4 6 4L16 4L20 8L20 18C20 18 20 20 18 20L6 20C4 20 4 18 4 18L4 6ZM15 4L15 8C15 8 15 9 14 9L9 9C8 9 8 8 8 8L8 4M10.5 14.5C10.5 13.6716 11.1716 13 12 13C12.8284 13 13.5 13.6716 13.5 14.5C13.5 15.3284 12.8284 16 12 16C11.1716 16 10.5 15.3284 10.5 14.5Z" />
</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 {DiskIcon} 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 DiskIcon = () => (
<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 6C4 6 4 4 6 4L16 4L20 8L20 18C20 18 20 20 18 20L6 20C4 20 4 18 4 18L4 6ZM15 4L15 8C15 8 15 9 14 9L9 9C8 9 8 8 8 8L8 4M10.5 14.5C10.5 13.6716 11.1716 13 12 13C12.8284 13 13.5 13.6716 13.5 14.5C13.5 15.3284 12.8284 16 12 16C11.1716 16 10.5 15.3284 10.5 14.5Z" />
</svg>
);
You can now use the icon component in your React application like any other React component.