@paper, can we get a programmatic function for the "Paper Snapshot Chrome" that would let us use JavaScript to pass an element on the page to the plugin?
Here's why...
1
3
144
We're exploring extending our local storybook component library to be configurable so that clicking "Copy to Paper" would send the component configuration to the plugin then clipboard.
1
1
35
Or expose the documentation for us to programmatically generate paper clipboards beyond the Chrome extension. We want to make paper work but the lack of component library support like Figma adds a lot of friction.
1
42
Ok scratch that we just needed to wrap the copy to clipboard in the paper XML syntax:
<x-paper-html>
<div layer-name="Button" style="...">
...
</div>
</x-paper-html>
2
1
48
Ok now we can configure out components and then click a button in our storybook and then past right into @paper.
1
1
56
cool! fyi you can also just paste html via text, e.g: if I type this and copy it into paper
<div style="color:red;font-size:19px;">hello ethan!!!</div>
it also works
Sep 2, 2026 · 10:31 PM UTC
2
45


