Hooks & Utilities
v1.0.0Added in 1.0.0
Files out of the browser: download blobs, text and JSON, turn a canvas or an SVG into a PNG, copy an image and name files consistently.
The card is an SVG. Download SVG saves it as it is, Download PNG rasterizes it at the playground scale (with the background color when one is set), Copy PNG puts the image on the clipboard (paste it into a chat or a doc), and Download JSON saves the card's data. Every file is named from the title plus the local date and time, and the readout shows the last name and size.
npx wingo-ui@latest add file-exportPro item: the CLI needs a Pro account. See plans
No dependencies beyond React.
scale 2x · transparent