To use this project, you don't need any special setup or installation. You just need a React project setup or any React framework like NextJS. It's recommended to have a separate folder for components where you can save the mockup's component file.
Example project dir structure
As already mentioned there is no need to set up your project to make it work it with this project. Also mentioned it is highly advised to have a components folder or something like mockupComponents for easy usage and management.
You will create a new file called nameOfMockup.tsx or nameOfMockup.jsx for every mockup you use in your project call the function inside of it where needed.