Open drfarrell opened 3 months ago
I could work on this; this would be my approach
That was what I was probably going to try out – while you work on that, let me provide some mockups of where I'd expect the user to be able to interact with this...
I'm imagining they can do this from the right-click menu and the bottom part of the properties panel like what Figma has
The right-click menu where I'd imagine a "export as png" button would go (or we could make it a menu item that expands to the right for the filetype)
The lower right of our properties panel:
What Figma has:
If you have questions don't hesitate to reach out or feel free to jump in to discord
@lcrojano , That sounds reasonable. One thing with html2canvas is that the library would need to be injected into the
@lcrojano did you happen to give this a try? I'm super excited to see what you come up with!
Exporting elements in a browser as screenshots opens up a lot of really cool adjacent features such as attaching images to Onlook PRs, asset generation for documentation, and making it so much easier to render realistic images of the product for other creatives.
Filetypes
Functionality