This is the most interactive component I've worked on so far. It uses your camera to take three pictures. When you first click, the camera turns on, and it asks for webcam permission. If there's no camera available or if permission is declined, you can set fallback images. I also included a bit of code for the polaroids to make sure the image you're moving comes to the front using z-index.
I've also made a simpler version that doesn't need the camera feed. You just pick three images to display on the canvas: Remix
I made the camera in Figma, you can check it out Here
This is the most interactive component I've worked on so far. It uses your camera to take three pictures. When you first click, the camera turns on, and it asks for webcam permission. If there's no camera available or if permission is declined, you can set fallback images. I also included a bit of code for the polaroids to make sure the image you're moving comes to the front using z-index.
I've also made a simpler version that doesn't need the camera feed. You just pick three images to display on the canvas: Remix
I made the camera in Figma, you can check it out Here
This is the most interactive component I've worked on so far. It uses your camera to take three pictures. When you first click, the camera turns on, and it asks for webcam permission. If there's no camera available or if permission is declined, you can set fallback images. I also included a bit of code for the polaroids to make sure the image you're moving comes to the front using z-index.
I've also made a simpler version that doesn't need the camera feed. You just pick three images to display on the canvas: Remix
I made the camera in Figma, you can check it out Here